From: Jean Privat Date: Wed, 29 Oct 2014 19:11:53 +0000 (-0400) Subject: Merge: Threads X-Git-Tag: v0.6.10~8 X-Git-Url: http://nitlanguage.org Merge: Threads Intro the `threads` module with support for POSIX threads, mutex and barriers. Also provides 2 ways to have thread-safe collections: refining existing collections and sub-classing them. TODO: * Complete the collection support. * Modifiy `print` so that printing the user content and the new line is (generally) atomic * Add more examples/use in real programs * Reinforce error support. * Fix compatibility with FFI's global refs. * Add, when needed, GC_THREADS to `gc_chooser.[c|h]` * Do not include `gc.h` when not using libgc ping @egagnon Pull-Request: #849 Reviewed-by: Jean-Philippe Caissy Reviewed-by: Jean Privat Reviewed-by: Alexandre Terrasa Reviewed-by: Etienne M. Gagnon --- 35d953820b843c75916bf95d4a20233325cfcf46