[Openais] corosync trunk - use posix unnamed semaphores in shared memory segment
Steven Dake
sdake at redhat.com
Wed Jul 29 18:56:02 PDT 2009
This patch changes the use from sysv semaphores to posix unnamed shared
semaphores on platforms that support the feature.
The checking of OS feature support needs a bit of work.
This patch also gets rid of the need to handle SIGUSR2 in the library
for pthread_kill. Instead we use sem_post to signal a connection is
ended.
Main benefit beyond performance is no upper limit on number of ipc
connections and no leaking that happens when a process is killed
unexpectedly.
Regards
-steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: corosync-trunk-use-posix-semaphores.patch
Type: text/x-patch
Size: 13861 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/openais/attachments/20090729/0bd4e644/attachment.bin
More information about the Openais
mailing list