in reply to Re: Trouble with locking under Solaris
in thread Trouble with locking under Solaris

Abigail-II is, as usual, right.

I've had similar problems on Solaris in the past myself.
On Solaris, you must open a file for writing if you require an exclusive lock.
Likewise you must open a file for reading if all you need is a shared lock.

Cheers,

BazB


If the information in this post is inaccurate, or just plain wrong, don't just downvote - please post explaining what's wrong.
That way everyone learns.

  • Comment on Re: Re: Trouble with locking under Solaris