|
|
@ -138,9 +138,9 @@ done:
|
|
|
|
* Mark the currently executing sandbox as blocked, remove it from the local runqueue,
|
|
|
|
* Mark the currently executing sandbox as blocked, remove it from the local runqueue,
|
|
|
|
* and pull the sandbox at the head of the runqueue
|
|
|
|
* and pull the sandbox at the head of the runqueue
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* FIXME : What happens if we block on a sandbox that has preempted something ? Should we try to restore first?
|
|
|
|
* FIXME: What happens if there are preempted or woken (but not running) sandboxes? When we block, when and how do we
|
|
|
|
* Is this accomplished by the runqueue design?
|
|
|
|
* run them? Is this the runqueue appropriately checked, and runnable sandboxes executed?
|
|
|
|
**/
|
|
|
|
*/
|
|
|
|
void
|
|
|
|
void
|
|
|
|
worker_thread_block_current_sandbox(void)
|
|
|
|
worker_thread_block_current_sandbox(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|