Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Inter-thread exceptions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-09-04 (15:30)
From: Florian Douetteau <douet@c...>
Subject: Re: [Caml-list] Inter-thread exceptions
On Wed, 4 Sep 2002, Sven LUTHER wrote:
> BTW, also it would be nice to have a (working) way to kill a thread.
> There is kill, but it does not seem to be implemented.

thread killing is a nice but dangerous feature...
Most of the time the client thread has to tell its server  when it may
be interrupted and when it may not. So that it is  simpler that  the
client code checks periodically a global variable, and stops when it
becomes true.
Java API used to have a Thread.kill method, but it became deprecated from
the 1.1 version.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: