19 Aug
2008
19 Aug
'08
3:45 p.m.
Hi, if i have a threadpool running an io_service and a read_until is invoked before async_write. Now i wonder what would happen if the string is written to the socket, will the write handler be called before the read_handler or is it undefined in which order they will be invoked? If it's not guaranteed can anyone think of a solution to create such a guarantee in my own program? (I posted the same question on the asio mailinglist but i assume there's more activity here) Thanks in advance -- Mierswa, Daniel If you still don't like it, that's ok: that's why I'm boss. I simply know better than you do. --- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22