Hi Chris, On 2016-11-10 11:03, Chris Double wrote: > With that I see what you are seeing. Both numbers print out after the > last thread finishes. It looks like it's buffering in this case. If I > add a 'flush' then I see them printed after 5 seconds then 10 seconds: > > -------------8<------------- > USING: fry prettyprint kernel io namespaces sequences io.launcher > io.directories io.encodings.utf8 io.files io.files.info io.pathnames > concurrency.messaging threads math tools.threads accessors calendar ; > IN: script > > self '[ "bash -c \"sleep 10\"" run-process drop 1 _ send ] "1" spawn > self '[ "bash -c \"sleep 5\"" run-process drop 2 _ send ] "2" spawn > receive . flush > receive . flush > clear > -------------8<------------- > > Could this fix your issue?
Indeed that's it. Thanks for your help, I should be able to finish it from this point :) -- ------------ Peter Nagy ------------ ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk