The currently available sleep() is just a ccall to usleep(), which would effectively block the entire Julia process.
I am looking for a sleep() that would internally yield to any other running tasks and return after the specified time, so that I can write code like this:
while (event_not done)
jl_sleep(0.01) # 10 milliseconds
event_not done = check_for_event_done()
end
Amit