Re: [Factor-talk] Wait for Thread
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 Ilinwrote: > Hello! > > If I spawn a thread using the threads:spawn word, is there a
[Factor-talk] Wait for Thread
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