diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2018-05-16 18:44:32 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2018-05-16 18:44:32 -0700 |
commit | 54465a2679ca6a04a6ecb0ff58f2d519bf7ab9bc (patch) | |
tree | 5bb033b0be103318892b0bd7b0af9f086724b941 /src/pulp.c | |
parent | a907debe635fdbae6db75b286da4ff83cd96b7da (diff) |
libpulp: waking note in pulp_fiber_get_mailslot()
Diffstat (limited to 'src/pulp.c')
-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. */ |