Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Unix module and threads
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Janne Hellsten <janne@h...>
Subject: [Caml-list] Unix module and threads
Hello caml-list,

I wonder what happens if I call [Unix.chdir foo] from two different 
threads, with two different directories?

After chdir I typicall call [Unix.system] and/or 
[Unix.open_process_full] and expect the directory to be the one just 
previously set with [Unix.chdir].

I would like to parallelize a simple building tool that I've written, 
but I'm a bit worried if things will mysteriously break with the 
introduction of multi-threaded control.

I am running both Windows (Cygwin and native) and Linux.

Thank you for your help,
Janne Hellsten



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners