asio icon indicating copy to clipboard operation
asio copied to clipboard

Enable use of __declspec(thread) for BOOST_ASIO_WINDOWS_APP.

Open fxb opened this issue 8 years ago • 0 comments

This commit enables use of "__declspec(thread)" when targeting the Universal Windows Platform.

Linking with Boost.Asio in a Universal Windows App currently fails, since thread local storage Win32 APIs (TlsAlloc, TlsFree, TlsGetValue and TlsSetValue) are not available yet. Even if those APIs are made available again in an upcoming Windows build, using the keyword is preferred.

fxb avatar Apr 27 '16 11:04 fxb