Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The implementation on master currently uses a single queue, but very shortly it will be converted to work stealing.

Tasks can be 'pinned' to their own scheduler (i.e. thread) with `spawn_sched(SingleThreaded)`, and this is very important for tasks that call foreign code that blocks.

That's about the extent of the configurability at the moment, but I anticipate at least one other 'mode' in the future for coping with blocking tasks that don't want to be pinned to a specific thread.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: