gnulag / circ

#gnulag's IRC bot
BSD 2-Clause "Simplified" License
3 stars 3 forks source link

Asynchronous event loop #14

Closed colfrog closed 5 years ago

colfrog commented 5 years ago

With this patch the event loop reads sockets asynchronously, then pushes the message to a queue where it will be picked and processed. The only blocking part is pushing to and reading the queue, which seems necessary.