Re: [Boost-bugs] [Boost C++ Libraries] #9124: Boost.Thread using of _beginthreadex prohibits its use on Windows Store application

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-12-13 11:22:14


#9124: Boost.Thread using of _beginthreadex prohibits its use on Windows Store
application
--------------------------------------+-------------------------
  Reporter: beholder@… | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: config
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------

Comment (by ixSci <beholder@…>):

 johnmaddock, honestly I don't know how to explain it better... std lib for
 Windows Store application DOESN'T HAVE _ _beginthreadex and it DOESN'T
 participate in any initialization. So basically you can't use Boost.Thread
 with Windows Store application anyway. To make it possible to use
 Boost.Thread with Windows Store application Boost.Thread should be changed
 as I said above(either implement boost.thread with WinRT API or use
 standard std::thread inside it). The patch I provided simply allows to
 compile boost for Windows Store application. I don't know maybe it would
 be better to add static_assert to warn anyone who tries to use
 boost::thread that it is unsupported.

 Anyway this patch didn't mean to add support for Windows Store apps, only
 to add the possibility to compile boost at all.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9124#comment:17>
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:15 UTC