On Mon, Mar 15, 2010 at 7:52 PM, [email protected] <[email protected]> wrote:
> I have something similar, therefore "how I did it". > > All polling is done by libev in the main-loop, a single main loop. > If a connection is established and processing the data needs some time, I > remove the watchers from the loop, and creates a task from the data to > process and the function to process the data, and pushes this set to an glib > thread pool. > > How do you know beforehand that processing data will take some time? -- Regards, Mikhail
_______________________________________________ libev mailing list [email protected] http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
