diff options
-rw-r--r-- | src/pulp.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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. */ |