What wrong solution do you think I am reaching? Running program in event loop?
Well, I can move event loop and costly data processing in separate threads for simplicity of code. If multi-core optimization is required, I can push event processing to pool of threads using Thread::Queue, right?
BTW, thanks for this piece of code, it will help me a bit with sockets. Though, your post didn't answer my original question.
In reply to Re^2: I search for an async IPC module (...)
by anykeyman
in thread I search for an async IPC module that transfers arbitrary-length strings (preferably binary, but ASCII is fine too) via full-duplex, keep-alive TCP connection
by anykeyman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |