Re: [Boost-bugs] [Boost C++ Libraries] #1069: _InterlockedExchange, _InterlockedExchangeAdd have wrong signature

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1069: _InterlockedExchange, _InterlockedExchangeAdd have wrong signature
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-07-15 16:06:23

#1069: _InterlockedExchange, _InterlockedExchangeAdd have wrong signature
  Reporter: Braden McDaniel <braden_at_[hidden]> | Owner: pdimov
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: smart_ptr
   Version: release 1.34.0 | Severity: Problem
Resolution: | Keywords:
Comment (by pdimov):

 The Microsoft documentation is wrong in this case. If we change the code
 to be wrong as well, the signatures will no longer match the ones in
 <windows.h>. The documentation for !InterlockedExchange

 correctly specifies the signature as taking LONG volatile*. BTW, you can't
 declare a function parameter as long * volatile, the volatile is ignored.

Ticket URL: <>
Boost C++ Libraries <>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC