Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9124: Boost.Thread using of _beginthreadex prohibits its use on Windows Store application
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-20 04:15:52
#9124: Boost.Thread using of _beginthreadex prohibits its use on Windows Store
application
--------------------------------------+----------------------
Reporter: beholder@⦠| Owner: viboes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: thread
Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+----------------------
Comment (by ixSci <beholder@â¦>):
I belive there is no such a define out there. Windows 8.1 is not just
Metro apps but plain old apps also. So it is up to the user to build boost
specifically for Metro apps. So I propose to either add new define(e.g
UNDER_WINRT) which allows to not define BOOST_HAS_THREADEX or(better)
replace existing BOOST_HAS_THREADEX with something like
BOOST_IMPL_THREADEX. If BOOST_IMPL_THREADEX defined then use boost
implemented _beginthreadex if not then use the native one. It allows to
build boost.thread with custom _beginthreadex just by defining macros in
bjam.
Also it won't disturb current code much since only a few places must be
touch to replace current logic about BOOST_HAS_THREADEX
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9124#comment:7> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC