From 2805934d498f217bc40f49f6e51bf991c09c23fa Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Tue, 17 Mar 2020 15:17:19 -0400 Subject: [PATCH] docs: add warning to sandbox exit function --- runtime/src/runtime.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/runtime/src/runtime.c b/runtime/src/runtime.c index 508449f..a770f89 100644 --- a/runtime/src/runtime.c +++ b/runtime/src/runtime.c @@ -433,13 +433,11 @@ worker_thread__main(void *return_code) pthread_exit(return_code); } -// RANDOM... Is this in the right place? - /** * Called when the function in the sandbox exits * Removes the standbox from the thread-local runqueue, sets its state to RETURNED, * releases the linear memory, and then switches to the sandbox at the head of the runqueue - * TODO: Does this belong in sandbox.c? + * TODO: Consider moving this to a future current_sandbox file. This has thus far proven difficult to move **/ void worker_thread__current_sandbox__exit(void)