On Apr 27, 2:17 pm, "Richard Brodie" <[email protected]> wrote: > "Vsevolod" <[email protected]> wrote in message > > news:[email protected]... > > > There's a common unification library -- bordeaux-threads -- > > that abstracts away implementation specifics. It's API includes > > the function destroy-thread. > > Which is deprecated, like the Java one. It's not hard to provide > a kill thread call, if you don't mind it having undefined semantics.
"This should be used with caution: it is implementation-defined whether the thread runs cleanup forms or releases its locks first." This doesn't mean deprecated. It means: implementation-dependent. For example in SBCL: "Terminate the thread identified by thread, by causing it to run sb-ext:quit - the usual cleanup forms will be evaluated". And it works fine. Best regards, Vsevolod -- http://mail.python.org/mailman/listinfo/python-list
