Re: NON-daemonic forking

1999-08-20 Thread Michael Weber
On Fri, Aug 20, 1999 at 15:34:51 +0200, George Russell wrote: > Einar Karlson, my predecessor, asked for daemonic forking as for Java. In > Java you have ordinary threads and daemonic threads; the process ends when > only daemonic threads are still running. The GHC team seem to have gone > ahead

NON-daemonic forking

1999-08-20 Thread George Russell
Einar Karlson, my predecessor, asked for daemonic forking as for Java. In Java you have ordinary threads and daemonic threads; the process ends when only daemonic threads are still running. The GHC team seem to have gone ahead and made all forked thread daemonic! So can we have ordinary threads

gmake 3.77 and GHC Makefiles

1999-08-20 Thread George Russell
The recent version, 3.77, of gmake seems to be a bit too clever (or maybe too stupid) for GHC's device of not updating a .hi file which is identical to the last one generated. It appears to me as if gmake is saving on a call to fstat by assuming that .hi has been updated even if it hasn't, and

Re: Releasing server sockets with Socket module

1999-08-20 Thread Sven Panne
Anders Henriksson wrote: > I try to make my program behave politely by releasing discarded > server sockets. Unfortunately this never happens. [...] AFAIK both GHC and your program are correct. Doing a netstat immediately after your program terminates yields: panne@marutea:~ > netstat -l A

Releasing server sockets with Socket module

1999-08-20 Thread Anders Henriksson
Hello all, I try to make my program behave politely by releasing discarded server sockets. Unfortunately this never happens. With the simple code below, the program cannot be rerun, as it fails with an "Address already in use". - import Socket import SocketPrim ( sClose ) import System impor