Re: [boost] Asio multithreaded server

16 Nov
2006
16 Nov
'06
3:38 p.m.
Christopher Kohlhoff wrote:
Anyway, I have just committed a fix to CVS head for this. If you want to patch your own copy with a temporary fix, make the following change to asio/detail/win_iocp_io_service.hpp: // Constructor. win_iocp_io_service(asio::io_service& io_service) : asio::io_service::service(io_service), - iocp_(::CreateIoCompletionPort(INVALID_HANDLE_VALUE, 0, 0, 0)), + iocp_(::CreateIoCompletionPort(INVALID_HANDLE_VALUE, 0, 0, ~0)), outstanding_work_(0), interrupted_(0), shutdown_(0)
I have tried the patch but with no success...do I need any change to server.cpp file in order to make it works? Do I need a per session io_service? Thanks again
6786
Age (days ago)
6786
Last active (days ago)
0 comments
1 participants
participants (1)
-
berserker_r