Re: [Factor-talk] Wait for Thread

2017-12-20 Thread Chris Double
The easiest way might be to use futures: http://docs.factorcode.org/content/article-concurrency.futures.html eg: [ 42 ] future ?future . => 42 On Thu, Dec 21, 2017 at 10:44 AM, Alexander Ilin wrote: > Hello! > > If I spawn a thread using the threads:spawn word, is there a

[Factor-talk] Wait for Thread

2017-12-20 Thread Alexander Ilin
Hello! If I spawn a thread using the threads:spawn word, is there a way to wait for the thread to finish its work? I need something like WaitForSingleObject(ThreadHandle, INFINITE). ---=--- Александр -- Check