
11 Jul
2012
11 Jul
'12
5:47 p.m.
Am 11.07.2012 18:42, schrieb Ovanes Markarian:
I know what coroutines, fibers or user space threads are... But using them I still need to do some additional impl, which I don't want. I first want to know if I can read/write to tcp::iostream from two different threads and if yes, than how should I do it best.
a brief look at basic_socket_iostream I think it is not thread-safe so reading/writing from/to tcp::iostream should force race conditions