Boost logo

Boost :

From: John Max Skaller (skaller_at_[hidden])
Date: 2001-06-27 12:03:31

Greg Colvin wrote:

> Because killing threads is a bad idea.

        No, it isn't a 'bad idea'. It is essential
in many applications, in particular, it is essential
in most multithreaded servers to kill client connection
management threads when they're unable to detect that
the connection is lost or exceeded some bound
(such as 'out of money').

        A thread blocked waiting for input
cannot always detect such conditions (only an actual
input error). In such cases, cancellation is not
a bad idea, it is mandatory.

John (Max) Skaller, mailto:skaller_at_[hidden] 
10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850
New generation programming language Felix
Literate Programming tool Interscript

Boost list run by bdawes at, gregod at, cpdaniel at, john at