Re: [asio-users] Using io_service in a non-main thread?
Brought to you by:
chris_kohlhoff
From: Gruenke, M. <mgruenke@Tycoint.com> - 2010-11-29 19:00:55
|
Agreed on making it default. I actually tracked that one down with a debugger, a couple years ago! There was a bug in our buildsystem that resulted in it being omitted, in some cases. Matt -----Original Message----- From: will [mailto:bar...@gm...] Sent: Monday, November 29, 2010 13:23 To: asi...@li... Subject: Re: [asio-users]Using io_service in a non-main thread? Gruenke, Matt <mgruenke@...> writes: > > More on that topic, here: > > http://www.boost.org/community/error_handling.html > > BTW, if you're using MinGW, there's a compiler option to enable > thread-safe exceptions. Failure to specify it results in mysterious and > intermittent errors. > > Matt Ah Matt you are a life saver - the -mthreads option does the trick. Can anyone explain why having thread safe exceptions is an optional extra...surely we always want that guarantee! I miss Java. Many thanks Will ------------------------------------------------------------------------ ------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ asio-users mailing list asi...@li... https://lists.sourceforge.net/lists/listinfo/asio-users _______________________________________________ Using Asio? List your project at http://think-async.com/Asio/WhoIsUsingAsio |