On 09/19/2013 07:05 PM, Jiří Zárevúcky wrote: > So how about the timeouts? > > > So I just looked at how the async framework supports them, and it seems > timeouts can't be cleanly included as part of fibril API, since they are > currently handled as an indivisible part of waiting for IPC. > > Three possibilities of what to do about it: > a) Keep a small amount of dependency on async framework in the fibril API. > b) Use async framework timers in condvar implementation. > c) Spawn a dedicated thread for dealing with timers, and handle them > completely independent of IPC.
Does a) mean the same thing as b), but not in the condvar implementation, but in fibril_sleep() implementation? That seems like the best solution to me. Jakub _______________________________________________ HelenOS-devel mailing list HelenOS-devel@lists.modry.cz http://lists.modry.cz/listinfo/helenos-devel