[lkml]   [2001]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[OT] Re: WaitForSingleObject in linux????..
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).

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

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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.021 / U:0.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site