You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Farid Zaripov (JIRA)" <ji...@apache.org> on 2008/05/15 17:21:55 UTC

[jira] Issue Comment Edited: (STDCXX-563) split up rw/_mutex.h

    [ https://issues.apache.org/jira/browse/STDCXX-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597155#action_12597155 ] 

farid edited comment on STDCXX-563 at 5/15/08 8:21 AM:
---------------------------------------------------------------

New patch attached.

ChangeLog:
{noformat}
	STDCXX-563
	* include/rw/_atomic-deccxx.h: New header file with definitions of inline
	functions for atomic operations on ALPHA platform.
	* include/rw/_atomic-mipspro.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-sparc.h: New header file with definitions of inline functions
	for atomic operations on SPARC platform.
	* include/rw/_atomic-x64.h: New header file with definitions of inline
	functions for atomic operations on Intel IA64 and X64 platforms.
	* include/rw/_atomic-x86.h: New header file with definitions of inline functions for
	atomic operations on Intel X86 platform.
	* include/rw/_atomic-xlc.h: New header file with definitions of inline functions
	for atomic operations on POWERPC platform.
	* include/rw/_atomic.h: New header file with definitions of inline functions
	for atomic operations.
	* 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-win32.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]: Use
	_RWSTD_ATOMIC_PREINCREMENT() on all platforms where atomic increment is
	available instead of using _InterlockedIncrement() only on Windows.
{noformat}

      was (Author: farid):
    New patch attached.
  
> 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
>            Priority: Minor
>             Fix For: 4.2.2
>
>         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.