Bug in touchForeignPtr?

Glynn Clements glynn at gclements.plus.com
Mon Nov 22 13:57:11 EST 2004


Keean Schupke wrote:

> Nope there are some unix resources that c exit routines do not free
> like semaphores.

"C exit routines" aren't responsible for freeing OS resources; the OS
is.

The fact that the SysV IPC objects aren't freed on exit is
intentional; they are meant to be persistent. For the same reason, the
OS doesn't delete upon termination any files which the process
created.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the Glasgow-haskell-users mailing list