[ 
https://issues.apache.org/jira/browse/STDCXX-563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Farid Zaripov updated STDCXX-563:
---------------------------------

    Attachment: stdcxx-563.patch

The updated patch is attached.

{noformat}
  ChangeLog:
  STDCXX-563
  * include/rw/_atomic.h: New header file with definitions of inline functions
  for atomic operations.
  * include/rw/_atomic_aplha.h: New header file with definitions of inline
  functions for atomic operations on ALPHA platform.
  * include/rw/_atomic_generic.h: New header file with definitions of generic
  inline functions for atomic operations with long and long long types.
  * include/rw/_atomic_ia64_x64.h: New header file with definitions of inline
  functions for atomic operations on Intel IA64 and X64 platforms.
  * include/rw/_atomic_mips.h: New header file with definitions of inline 
functions
  for atomic operations on MIPS platform.
  * include/rw/_atomic_mutex.h: New header file with definitions of inline 
functions
  for atomic operations with using mutex object.
  * include/rw/_atomic_parisc.h: New header file with definitions of inline 
functions
  for atomic operations on PA RISC platform.
  * include/rw/_atomic_powerpc.h: New header file with definitions of inline 
functions
  for atomic operations on POWERPC platform.
  * include/rw/_atomic_sparc.h: New header file with definitions of inline 
functions
  for atomic operations on SPARC platform.
  * include/rw/_atomic_x86.h: New header file with definitions of inline 
functions for
  atomic operations on Intel X86 platform.
  * include/rw/_mutex_dce.h: New header file with definitions of classes for 
thread
  safety using DCE threads.
  * include/rw/_mutex_os2.h: New header file with definitions of classes for 
thread
  safety using OS2 threads.
  * include/rw/_mutex_pthread.h: New header file with definitions of classes 
for thread
  safety using POSIX threads.
  * include/rw/_mutex_solaris.h: New header file with definitions of classes 
for thread
  safety using Solaris threads.
  * include/rw/_mutex_windows.h: New header file with definitions of classes 
for thread
  safety using Windows threads.
  * include/rw/_mutex.h: Split content of the file to the set of platform 
specific and OS
  specific headers above.
  (__rw_get_static_mutex) [!_RWSTD_NO_ATOMIC_OPS && !_PA_RISC2_0]: Declare
  __cntr as int instead of volatile long (see STDCXX-792), use
  _RWSTD_ATOMIC_PREINCREMENT() on all platforms where atomic increment is
  available instead of using InterlockedIncrement() only on Windows.
{noformat}


> split up rw/_mutex.h
> --------------------
>
>                 Key: STDCXX-563
>                 URL: https://issues.apache.org/jira/browse/STDCXX-563
>             Project: C++ Standard Library
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 4.2.0
>            Reporter: Martin Sebor
>            Assignee: Farid Zaripov
>             Fix For: 4.2.1
>
>         Attachments: stdcxx-563.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> The internal header <rw/_mutex.h> has become too big and hard to maintain. It 
> would be an improvement to split it up into multiple headers, one for each 
> supported implementation of threads, along the lines of what was done with 
> the <rw/_config.h> header in 
> http://svn.apache.org/viewvc?view=rev&revision=382600. This is too big to do 
> for 4.2 but simple enough that it could go in 4.2.1.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to