------------------------------------------------------------ revno: 279 committer: Jean-Vincent Loddo <lo...@lipn.univ-paris13.fr> branch nick: ocamlbricks timestamp: Fri 2011-12-30 17:58:46 +0100 message: Added module Stateful_modules.Process_private_thread_shared_variable in order to be able to define references shared by the threads of the same process but meaningless for forked processes (and their threads). Each forked process will regenerate the value stored in the reference. An exemple of application of this kind of structure is in the module ThreadExtra for the implementation of create_killable. Here the table (array of semaphores) thread->signal is obviously meaningful only in the scope of a specific process. modified: STRUCTURES/stateful_modules.ml STRUCTURES/stateful_modules.mli
-- lp:ocamlbricks https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk Your team marionnet-dev is subscribed to branch lp:ocamlbricks. To unsubscribe from this branch go to https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk/+edit-subscription _______________________________________________ Mailing list: https://launchpad.net/~marionnet-dev Post to : marionnet-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~marionnet-dev More help : https://help.launchpad.net/ListHelp