Messages in this thread | | | Date | Sat, 29 Jul 2006 12:29:46 -0600 | From | Robert Hancock <> | Subject | Re: A better interface, perhaps: a timed signal flag |
| |
Steven Rostedt wrote: > There's also something else that would be a nice addition to the kernel > API. A sleep and wakeup that is implemented without signals. Similar to > what the kernel does with wake_up. That way you can sleep till another > process/thread is done with what it was doing and wake up the other task > when done, without the use of signals. Or is there something that > already does this?
For between threads, this is what the POSIX pthread API is for (pthread_cond_wait and friends) which is implemented using futexes these days..
-- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |