summaryrefslogtreecommitdiff
path: root/src/pulp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulp.c')
-rw-r--r--src/pulp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pulp.c b/src/pulp.c
index 939d913..9cfdbc5 100644
--- a/src/pulp.c
+++ b/src/pulp.c
@@ -627,6 +627,13 @@ int pulp_fiber_get_mailslot(pulp_t *pulp, pulp_fiber_t *fiber, void ***res_mails
* should just be sized to never experience blocking.
*/
+ /* TODO: note that this also doesn't currently wake the fiber or otherwise
+ * enter the scheduler.
+ * I left that out, as I suspect it may be desirable to just add a separate
+ * wake function. The current use case of this library uses tiny sleeps
+ * more or less as yields so it's just not an issue yet.
+ */
+
/* TODO: nothing is sanity checked at this time, I assume the supplied fiber
* is valid and sleeping.
*/
© All Rights Reserved