[julia-users] Julia equivalent for real threads

2015-06-15 Thread yigiter . public
I have a program which needs to utilize 2 "real" threads. Thread-A contains a blocking function call to the kernel. Whenever the function returns from the kernel, thread-A updates a variable which Thread-A shares with Thread-B. Thread-B carries its own task/job using the current value of th

[julia-users] Adding a native function to julia's scheduler

2015-06-17 Thread yigiter . public
I need to call "waitformultipleobjects" (windows equivalent of "select" call in linux) from julia using ccall. As this is a blocking function, I would like to call it within another coroutine (task). The problem is that the “Taks” in Julia only function effectively if all the blocking cal