Browse thread
The best way to circumvent the lack of Thread.kill ?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-11-02 (10:35) |
From: | Richard Jones <rich@a...> |
Subject: | Re: [Caml-list] The best way to circumvent the lack of Thread.kill ? |
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 > prover. 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. Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com