[clug] Semaphores and shared memory
Martin Pool
mbp at samba.org
Wed Dec 10 03:56:08 GMT 2003
On 10 Dec 2003, Jepri <jepri at webone.com.au> wrote:
> This would be a great topic for Brad's SIG programming group.
>
> BTW I'm guessing this would all be very unportable (to windows, also to
> weirder *nixs)?
It's somewhat portable.
But really, mutexes and SysV IPC are pretty deprecated on Linux. For
example, they aren't automatically cleaned up if your program
terminates, and they use a wierd non-filesystem naming scheme. Just
lock the file, or parts of it.
See tdb in samba cvs for a good example.
--
Martin
linux.conf.au -- Adelaide, January 2004
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/linux/attachments/20031210/5ea7de61/attachment.bin
More information about the linux
mailing list