[GHC] #1326: Bindings for POSIX named semaphores and shared memory objects

GHC trac at galois.com
Thu May 3 20:49:03 EDT 2007


#1326: Bindings for POSIX named semaphores and shared memory objects
-----------------------------+----------------------------------------------
  Reporter:  dfranke         |          Owner:          
      Type:  proposal        |         Status:  new     
  Priority:  normal          |      Milestone:  Not GHC 
 Component:  libraries/unix  |        Version:  6.7     
  Severity:  normal          |       Keywords:          
Difficulty:  Unknown         |             Os:  Multiple
  Testcase:                  |   Architecture:  Multiple
-----------------------------+----------------------------------------------
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.

 The patch is here:
 [http://www.haskell.org/pipermail/libraries/attachments/20070503/507f7e6c
 /attachment-0001.bin]

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1326>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


More information about the Glasgow-haskell-bugs mailing list