Messages in this thread |  | | | Date | Sat, 2 Jan 2010 16:56:15 +0100 | | Subject | Re: [suspend/resume] Re: userspace notification from module | | From | Daniel Borkmann <> |
| |
Hi Andy,
2010/1/2 Andy Walls <awalls@radix.net>: > Why not: > > a. write a module that implements a device node that supports poll(), > and > > b. have a user space process select() on the fd for read or exception > notification > > ?
This is, of course, another possible solution that is more "cleaner" than the one with the signals. Then, your userspace program would have another thread polling for the device node. Question is which timeout would be appropriate to be "CPU friendly" and to keep notification latency short?
Cheers, Daniel
|  |