summaryrefslogtreecommitdiff
path: root/libcr/include
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-29 12:14:45 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-29 12:24:10 -0600
commitcd0b080d638005bff762f1f8cae9a6c76648265b (patch)
treef9b76002924a16afae66df3815d521f0e7b25efb /libcr/include
parent6940b244de7c5048c55fc57ada93501c1be5ab20 (diff)
tidy, s/sighandler/intrhandler/
Diffstat (limited to 'libcr/include')
-rw-r--r--libcr/include/libcr/coroutine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcr/include/libcr/coroutine.h b/libcr/include/libcr/coroutine.h
index faaf6c3..f580b09 100644
--- a/libcr/include/libcr/coroutine.h
+++ b/libcr/include/libcr/coroutine.h
@@ -113,8 +113,8 @@ void cr_yield(void);
void cr_pause_and_yield(void);
/** cr_unpause() marks a coroutine as runnable that has previously marked itself as non-runnable with cr_pause_and_yield(). */
void cr_unpause(cid_t);
-/** cr_unpause_from_sighandler() is like cr_unpause(), but safe to call from a signal handler that might race with the coroutine actually pausing itself. */
-void cr_unpause_from_sighandler(cid_t);
+/** cr_unpause_from_intrhandler() is like cr_unpause(), but safe to call from a interrupt handler that might race with the coroutine actually pausing itself. */
+void cr_unpause_from_intrhandler(cid_t);
/** cr_end() is a counterpart to cr_begin(), but is really just cr_exit(). */
#define cr_end cr_exit