diff options
author | root <root> | 2008-11-16 00:55:41 +0000 |
---|---|---|
committer | root <root> | 2008-11-16 00:55:41 +0000 |
commit | 3c85b2a89c2e609f35fe579ae6058f093a38ce5a (patch) | |
tree | 1544445504d70e40459632284eefe23ad37dd93e /coro.c | |
parent | d5cb59151afca5d4202e69a4d27df78b35f259b4 (diff) |
*** empty log message ***
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 |