
22 Nov
2004
22 Nov
'04
1:27 p.m.
Semaphores (SYSV style) are not freed automatically. Currenly I am using C's at_exit funtion (which is even called on a signal)... Perhaps this is the way to deal with foreign resources... bracket notation and at_exit to clean up on signals? Keean. Sven Panne wrote:
Keean Schupke wrote:
Nope there are some unix resources that c exit routines do not free like semaphores.
Which library/OS calls do you mean exactly? I always thought that files are the only resources surviving process termination.
Cheers, S.