Y
Hacker News
new
|
ask
|
show
|
jobs
by
F-W-M
973 days ago
What do you mean by a long polling state machine? Is it just a state machine that gets fed via long polling http requests?
1 comments
akvadrako
973 days ago
No, he means a run loop which polls for events, often by using poll() or select(), but it could also just be sleep() and then a SELECT statement.
Then it contains logic to handle events.
link
F-W-M
973 days ago
Ah thanks. Didn't hear 'long polling' in that context yet.
link
Then it contains logic to handle events.