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