diff options
Diffstat (limited to 'coro.c')
-rw-r--r-- | coro.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -343,6 +343,9 @@ coro_transfer (coro_context *prev, coro_context *next) { pthread_cond_signal (&next->cv); pthread_cond_wait (&prev->cv, &coro_mutex); +#if __FreeBSD__ /* freebsd is of course broken and needs manual testcancel calls... yay... */ + pthread_testcancel (); +#endif } void |