How to make a word (thread?) Waiting to complete other threads?

    1 answer 1

    To wait for a thread to finish, you should wait on the thread handle.

    REQUIRE Wait ~pinka/lib/multi/Synchr.f REQUIRE LAUNCHED ~pinka/lib/multi/launch.f : t 2000 PAUSE ; : test ['] t LAUNCHED ( -- h ) >R ." waiting for t ... " R@ -1 Wait IF ." finished" ELSE ." failed" THEN R> CLOSE-FILE THROW ; 
    • REQUIRE LAUNCHED ~ pinka / lib / multi / launch.f not this in - Vitek
    • Update from the repository : download and unpack the tarball . Because there are unix string translations, then put the UNIX-LINES command in the beginning of spf4.ini. - ruvim