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
The best way to circumvent the lack of Thread.kill ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-11-02 (11:31)
From: Julien Narboux <Julien.Narboux@i...>
Subject: Re: [Caml-list] The best way to circumvent the lack of Thread.kill ?
Richard Jones wrote:

>On Wed, Nov 02, 2005 at 10:52:12AM +0100, Julien Narboux wrote:
>>My problem is that I don't want to pollute my target thread with checks 
>>for a variable.
>>Indeed, I am writing a graphical user interface for an automated theorem 
>How about forking off the theorem prover as a separate process?  You
>can communicate the result back to the main program using either a
>status code or a pipe (depending on how complex the result structure
>is).  The interrupt button just kills the forked process.
Yes, but the problem is that under the native windows port (see :

"kill, pause not implemented (no inter-process signals in Windows)"

Julien Narboux