From 3c85b2a89c2e609f35fe579ae6058f093a38ce5a Mon Sep 17 00:00:00 2001 From: root Date: Sun, 16 Nov 2008 00:55:41 +0000 Subject: *** empty log message *** --- coro.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'coro.c') diff --git a/coro.c b/coro.c index 5c410e8..25dfef8 100644 --- a/coro.c +++ b/coro.c @@ -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 -- cgit v1.2.3