[haiku] Re: Any plans for pthread support?

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Tue, 22 Sep 2009 23:45:39 +0200

Hi,

Colin Günther schrieb:
i had to implement condition variables during my porting effort of FreeBSDs wlan driver. I'm using semaphores to emulating conditional variables behaviour. It turned out, that semaphores are quite useful for that task.

You can take a look of my implementation here: http://dev.osdrawer.net/repositories/changes/haiku-wifi/trunk/wifi/libs/freebsd_network2/kern_condvar.c

Hm, but the kernel already has condition variable support. Was it not possible to use it?

Best regards,
-Stephan

Other related posts: