Ticket #1326 (closed proposal: fixed)
Bindings for POSIX named semaphores and shared memory objects
|Reported by:||dfranke||Owned by:|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
I've written a patch for libraries/unix adding support for POSIX named semaphores and shared memory objects. It's a straightforward wrapper around the POSIX system calls, basically just converting between C types and Haskell types and closing semaphores when they get garbage-collected.
I don't plan to implement unnamed semaphores because Control.Concurrent already has perfectly good support for that. Named semaphores, on the other hand, are for IPC, and there's no other alternative if that's what the process on the other end is expecting.