Makefile: Reduce optimisation to -O2 from -O3
[luaevent.git] / doc / PLAN
blobd3e8778f4741aee9f84bbec879833c6de052f065
1 -- Listener Scenario
2 create socket, perform bind, set listening
3 +add read-event listener
4 +start loop
6 -- Comm Scenario
7 provided socket
8 -inside loop
9 begin coro
10         read - data not ready
11         yield sock, needRead
12 end coro
13 coro parent == callback
14 (coro parent
15         call coro(sock, event)
16         if not ok, go back.. end
17         if newEvent ~= event then
18                 unset event, reset newEvent
19         end)