From: Stephen D. <sd...@gm...> - 2006-01-04 10:35:16
|
On 1/4/06, Zoran Vasiljevic <zv...@ar...> wrote: > Interesting... > What is a "task" (in a nutshell)? > It's an API for async network IO. You create a queue which is managed by a single thread. You add tasks to the queue. A task is a callback and a socket event. The queue thread monitors all sockets for events (readable/writeable) and then runs the callbacks. |