Jim Wintermyre writes:
>
> Yes, probably, but that code is currently pretty "gross" too, so not
> easily at the moment. I was sure there was some obvious way to
> synchronize among multiple user processes across mulitple driver
> calls, that I didn't know about. Maybe not. Is there not some
> straightforward API to tell the user process (from the userclient) to
> just block/sleep until a flag is cleared, or an event is triggered,
In the kernel, you can use IOLockSleep to put something to
sleeo, and IOLockWakeup to wake it up again.
Drew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden
This email sent to email@hidden