
9 May
2009
9 May
'09
7:37 p.m.
On Sat, 09 May 2009 21:09:47 +0200, Tim Pynegar
[...]The question is really should i put in a mutex lock in my sendto function that call's the async_send_to that is unlocked when i recieve the handlesentto callback that's called when the async_send_to is finished. If i do this doesn't this basically
What happens if you call boost::asio::io_service::run() only in main() and not in a new thread? Your application will then be single-threaded. If there are no crashs then anymore you probably use shared resources in your threads without synchronizing them properly. Boris
[...]