Skip to contentSkip to conversation

WaitForSingleObject in linux????..

OT Manfred Spraul 1 participant 1 message Jan 8, 2001

lore
Share & tools
lore
#0 lore raw

I would try to:

* implement foo_poll() in the kernel driver.
* the user space app calls select() or poll().

WaitForSingleObject should be easy to replace.

WaitForMultipleObjects could be tricky if you wait for different events (e.g. wait until either the kernel driver has new data, or another process exits, or a pthread_mutex is released by another thread).

Quoted 1 line

I am porting a NT driver and app into linux...

Good luck, I hope you release the kernel driver under GPL

--
Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/