On Tue, Feb 08, 2005 at 06:08:40PM +0100, Didier Dambrin wrote: > >Wait for a reply? Why? > > because your process asked a question to another, it has to wait till the > other got its timeslice. While a thread can give the rest of his timeslice, > if a process could do that, why would windows switch to the target one? > There might be other processes running, and they're not less important than > yours. Any OS student knows the answers to this: a) Most other processes are blocked at any given time b) Interactive or foreground tasks get a priority boost c) Tasks that voluntarily block get a priority boost, and still keep the rest of their slice d) When you "send" to another process you signal it to wake up, so you have a very high chance of that running next. ---------------------------------------------------------------------- Generalized Music Plugin Interface (GMPI) public discussion list Participation in this list is contingent upon your abiding by the following rules: Please stay on topic. You are responsible for your own words. Please respect your fellow subscribers. Please do not redistribute anyone else's words without their permission. Archive: //www.freelists.org/archives/gmpi Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe