* [OT] Re: WaitForSingleObject in linux????..
@ 2001-01-08 12:56 Manfred Spraul
0 siblings, 0 replies; only message in thread
From: Manfred Spraul @ 2001-01-08 12:56 UTC (permalink / raw)
To: mohammedazad; +Cc: linux-kernel
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
--
Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-01-08 12:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-08 12:56 [OT] Re: WaitForSingleObject in linux???? Manfred Spraul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox