in reply to Re: Net::Async::WebSocket::Server in a separate main loop
in thread Net::Async::WebSocket::Server in a separate main loop
Ok, finally even the main loop concept with "loop_once" does not work, as the main loop is blocked too much. My only current solution is to create the websocket server via threads, which works quite well. I was concerned about memory, as threads are copying a lot of stuff, but as I will create only 1 I think I can live with it.
Thanks anyways
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Net::Async::WebSocket::Server in a separate main loop
by alexander_lunev (Pilgrim) on Jan 13, 2023 at 06:19 UTC | |
by NERDVANA (Priest) on Jan 13, 2023 at 17:50 UTC | |
by alexander_lunev (Pilgrim) on Jan 13, 2023 at 19:15 UTC |