Re: [Boost-bugs] [Boost C++ Libraries] #2575: Bug- Boost 1.36.0 on Itanium platform

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2575: Bug- Boost 1.36.0 on Itanium platform
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-12-09 18:30:16


#2575: Bug- Boost 1.36.0 on Itanium platform
-----------------------------------+----------------------------------------
  Reporter: asonawane_at_[hidden] | Owner: marshall
      Type: Bugs | Status: new
 Milestone: Boost 1.38.0 | Component: thread
   Version: Boost 1.36.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Changes (by johnmaddock):

  * owner: johnmaddock => marshall

Comment:

 I don't have access to the itanium compiler but looking at the docs and
 the headers:

 * _interlockedbittestandset is a compiler intrinsic *only* available on
 x86 and x86_64 architechtures, it should *not* be used on any other
 architechture.

 * I can't see a similar IA64 intrinsic (but could easily have missed it).

 * The function:

 BOOLEAN WINAPI InterlockedBitTestAndSet(
   __in LONG volatile *Base,
   __in LONG Bit
 );

 Appears to be universally available and offers the same functionality (in
 fact it just calls _interlockedbittestandset on x86 platforms).

 HTH, John.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2575#comment:2>
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:49:59 UTC