diff --git a/GNUmakefile.in b/GNUmakefile.in index 5d0ca16d..18c721f8 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -1,9 +1,9 @@ # @configure_input@ # -------------------------------------------------------------------------- # -# pthreads-w32 / Pthreads4w - POSIX Threads for Windows +# pthreads-win32 / Pthreads4w - POSIX Threads for Windows # Copyright 1998 John E. Bossom -# Copyright 1999-2018, pthreads-w32 / Pthreads4w contributors +# Copyright 1999-2018, pthreads-win32 / Pthreads4w contributors # # Homepage: http://sources.redhat.com/pthreads-win32 # diff --git a/README.md b/README.md index 3f9ed0b2..3b806081 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ files, e.g. PTW32_* changes to PTW32_*, ptw32_* to ptw32_*, etc. License Change -------------- -With the agreement of all substantial relevant contributors pthreads-w32 / Pthreads4w +With the agreement of all substantial relevant contributors pthreads-win32 / Pthreads4w version 3, with the exception of four files, is being released under the terms of the Apache License v2.0. The APLv2 is compatible with the GPLv3 and LGPLv3 licenses and therefore this code may continue to be legally @@ -43,7 +43,7 @@ Alexander Terekhov Vladimir Kliatchko Ross Johnson -pthreads-w32 / Pthreads4w version 2 releases will remain LGPL but version 2.11 and later +pthreads-win32 / Pthreads4w version 2 releases will remain LGPL but version 2.11 and later will be released under v3 of that license so that any additions to pthreads4w version 3 code that is backported to v2 will not pollute that code. @@ -110,7 +110,7 @@ pre Windows 2000 systems. License Change to LGPL v3 ------------------------- -pthreads-w32 / Pthreads4w version 2.11 and all future 2.x versions will be released +pthreads-win32 / Pthreads4w version 2.11 and all future 2.x versions will be released under the Lesser GNU Public License version 3 (LGPLv3). Planned Release Under the Apache License v2 @@ -577,7 +577,7 @@ General The package now includes a reference documentation set consisting of HTML formatted Unix-style manual pages that have been edited for -consistency with pthreads-w32. The set can also be read online at: +consistency with pthreads-win32. The set can also be read online at: http://sources.redhat.com/pthreads-win32manual/index.html Thanks again to Tim Theisen for running the test suite pre-release @@ -675,7 +675,7 @@ semaphores, such as WinCE prior to version 3.0. An alternate implementation of POSIX semaphores is built using W32 events for these systems when NEED_SEM is defined. This code has been completely rewritten in this release to reuse most of the default POSIX semaphore code, and particularly, -to implement all of the sem_* routines supported by pthreads-w32. Tim +to implement all of the sem_* routines supported by pthreads-win32. Tim Theisen also run the test suite over the NEED_SEM code on his MP system. All tests passed. @@ -685,7 +685,7 @@ New features ------------ * pthread_mutex_timedlock() and all sem_* routines provided by -pthreads-w32 are now implemented for WinCE versions prior to 3.0. Those +pthreads-win32 are now implemented for WinCE versions prior to 3.0. Those versions did not implement W32 semaphores. Define NEED_SEM in config.h when building the library for these systems. @@ -784,7 +784,7 @@ to applications built on pthreads-win32 version 1.x.x. The package naming has changed, replacing the snapshot date with the version number + descriptive information. E.g. this -release is "pthreads-w32-2-0-0-release". +release is "pthreads-win32-2-0-0-release". Bugs fixed ---------- @@ -878,7 +878,7 @@ New features * A Microsoft-style version resource has been added to the DLL for applications that wish to check DLL compatibility at runtime. -* pthreads-w32 DLL naming has been extended to allow incompatible DLL +* pthreads-win32 DLL naming has been extended to allow incompatible DLL versions to co-exist in the same filesystem. See the README file for details, but briefly: while the version information inside the DLL will change with each release from now on, the DLL version names will only change if the new @@ -888,7 +888,7 @@ The versioning scheme has been borrowed from GNU Libtool, and the DLL naming scheme is from Cygwin. Provided the Libtool-style numbering rules are honoured, the Cygwin DLL naming scheme automatcally ensures that DLL name changes are minimal and that applications will not load an incompatible -pthreads-w32 DLL. +pthreads-win32 DLL. Those who use the pre-built DLLs will find that the DLL/LIB names have a new suffix (1) in this snapshot. E.g. pthreadVC1.dll etc. @@ -906,7 +906,7 @@ Certain POSIX macros have changed. These changes are intended to conform to the Single Unix Specification version 3, which states that, if set to 0 (zero) or not defined, then applications may use -sysconf() to determine their values at runtime. pthreads-w32 does not +sysconf() to determine their values at runtime. pthreads-win32 does not implement sysconf(). The following macros are no longer undefined, but defined and set to -1 @@ -1101,7 +1101,7 @@ for implicit POSIX threads. New feature - cancellation of/by Win32 (non-POSIX) threads --------------------------------------------------------- Since John Bossom's original implementation, the library has allowed non-POSIX -initialised threads (Win32 threads) to call pthreads-w32 routines and +initialised threads (Win32 threads) to call pthreads-win32 routines and therefore interact with POSIX threads. This is done by creating an on-the-fly POSIX thread ID for the Win32 thread that, once created, allows fully reciprical interaction. This did not extend to thread cancellation (async or @@ -1311,7 +1311,7 @@ There are a few reasons: do the expected thing in that context. (There are equally respected people who believe it should not be easily accessible, if it's there at all, for unconditional conformity to other implementations.) -- because pthreads-w32 is one of the few implementations that has +- because pthreads-win32 is one of the few implementations that has the choice, perhaps the only freely available one, and so offers a laboratory to people who may want to explore the effects; - although the code will always be around somewhere for anyone who @@ -1450,7 +1450,7 @@ return an error (ESRCH). * errno: An incorrect compiler directive caused a local version of errno to be used instead of the Win32 errno. Both instances are -thread-safe but applications checking errno after a pthreads-w32 +thread-safe but applications checking errno after a pthreads-win32 call would be wrong. Fixing this also fixed a bad compiler option in the testsuite (/MT should have been /MD) which is needed to link with the correct library MSVCRT.LIB. diff --git a/_ptw32.h b/_ptw32.h index 4e0c53c7..c3f48f22 100644 --- a/_ptw32.h +++ b/_ptw32.h @@ -2,7 +2,7 @@ * Module: _ptw32.h * * Purpose: - * pthreads-w32 internal macros, to be shared by other headers + * pthreads-win32 internal macros, to be shared by other headers * comprising the pthreads4w package. * * -------------------------------------------------------------------------- diff --git a/aclocal.m4 b/aclocal.m4 index 2f3b6651..bd65c489 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,9 +1,9 @@ ## aclocal.m4 ## -------------------------------------------------------------------------- ## -## pthreads-w32 / Pthreads4w - POSIX Threads for Windows +## pthreads-win32 / Pthreads4w - POSIX Threads for Windows ## Copyright 1998 John E. Bossom -## Copyright 1999-2018, pthreads-w32 / Pthreads4w contributors +## Copyright 1999-2018, pthreads-win32 / Pthreads4w contributors ## ## Homepage: http://sources.redhat.com/pthreads-win32 ## diff --git a/cmake/version.rc.in b/cmake/version.rc.in index 8fac1808..657804cc 100644 --- a/cmake/version.rc.in +++ b/cmake/version.rc.in @@ -29,6 +29,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #include diff --git a/configure.ac b/configure.ac index 21d450a6..0f52f783 100644 --- a/configure.ac +++ b/configure.ac @@ -1,9 +1,9 @@ # configure.ac # -------------------------------------------------------------------------- # -# pthreads-w32 / Pthreads4w - POSIX Threads for Windows +# pthreads-win32 / Pthreads4w - POSIX Threads for Windows # Copyright 1998 John E. Bossom -# Copyright 1999-2018, pthreads-w32 / Pthreads4w contributors +# Copyright 1999-2018, pthreads-win32 / Pthreads4w contributors # # Homepage: http://sources.redhat.com/pthreads-win32 # diff --git a/context.h b/context.h index a4c196a4..a8d0057f 100644 --- a/context.h +++ b/context.h @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifndef PTW32_CONTEXT_H diff --git a/create.c b/create.c index bc1fca63..edb975e8 100644 --- a/create.c +++ b/create.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/dll.c b/dll.c index 66a716ad..0ddca5ed 100644 --- a/dll.c +++ b/dll.c @@ -3,6 +3,7 @@ * * Description: * This translation unit implements DLL initialisation. + * This translation unit implements static auto-init and auto-exit logic. * * -------------------------------------------------------------------------- * @@ -33,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/docs/ANNOUNCE.md b/docs/ANNOUNCE.md index 367e4101..9cd6a3da 100644 --- a/docs/ANNOUNCE.md +++ b/docs/ANNOUNCE.md @@ -6,7 +6,7 @@ Releases: http://sources.redhat.com/pthreads-win32files Maintainer: Ross Johnson -We are pleased to announce the availability of a new release of pthreads-w32 +We are pleased to announce the availability of a new release of pthreads-win32 (a.k.a. Pthreads-win32), an Open Source Software implementation of the Threads component of the SUSV3 Standard for Microsoft's Windows (x86 and x64). Some relevant functions from other sections of SUSV3 are @@ -17,7 +17,7 @@ Some common non-portable functions are also implemented for additional compatibility, as are a few functions specific to pthreads4w for easier integration with Windows applications. -pthreads-w32 is free software. With the exception of four files noted later, +pthreads-win32 is free software. With the exception of four files noted later, Version 3.0.0 is distributed under the Apache License version 2.0 (APLv2). The APLv2 is compatible with the GPLv3 and LGPLv3 licenses and therefore this code may continue to be legally included within GPLv3 and LGPLv3 diff --git a/docs/NEWS.md b/docs/NEWS.md index db987c8a..8639208b 100644 --- a/docs/NEWS.md +++ b/docs/NEWS.md @@ -12,7 +12,7 @@ files, e.g. PTW32_* changes to PTW32_*, ptw32_* to ptw32_*, etc. License Change -------------- -With the agreement of all substantial relevant contributors pthreads-w32 +With the agreement of all substantial relevant contributors pthreads-win32 version 3, with the exception of four files, is being released under the terms of the Apache License v2.0. The APLv2 is compatible with the GPLv3 and LGPLv3 licenses and therefore this code may continue to be legally @@ -43,7 +43,7 @@ Alexander Terekhov Vladimir Kliatchko Ross Johnson -pthreads-w32 version 2 releases will remain LGPL but version 2.11 and later +pthreads-win32 version 2 releases will remain LGPL but version 2.11 and later will be released under v3 of that license so that any additions to pthreads4w version 3 code that is backported to v2 will not pollute that code. @@ -110,7 +110,7 @@ pre Windows 2000 systems. License Change to LGPL v3 ------------------------- -pthreads-w32 version 2.11 and all future 2.x versions will be released +pthreads-win32 version 2.11 and all future 2.x versions will be released under the Lesser GNU Public License version 3 (LGPLv3). Planned Release Under the Apache License v2 @@ -577,7 +577,7 @@ General The package now includes a reference documentation set consisting of HTML formatted Unix-style manual pages that have been edited for -consistency with pthreads-w32. The set can also be read online at: +consistency with pthreads-win32. The set can also be read online at: http://sources.redhat.com/pthreads-win32manual/index.html Thanks again to Tim Theisen for running the test suite pre-release @@ -675,7 +675,7 @@ semaphores, such as WinCE prior to version 3.0. An alternate implementation of POSIX semaphores is built using W32 events for these systems when NEED_SEM is defined. This code has been completely rewritten in this release to reuse most of the default POSIX semaphore code, and particularly, -to implement all of the sem_* routines supported by pthreads-w32. Tim +to implement all of the sem_* routines supported by pthreads-win32. Tim Theisen also run the test suite over the NEED_SEM code on his MP system. All tests passed. @@ -685,7 +685,7 @@ New features ------------ * pthread_mutex_timedlock() and all sem_* routines provided by -pthreads-w32 are now implemented for WinCE versions prior to 3.0. Those +pthreads-win32 are now implemented for WinCE versions prior to 3.0. Those versions did not implement W32 semaphores. Define NEED_SEM in config.h when building the library for these systems. @@ -784,7 +784,7 @@ to applications built on pthreads-win32 version 1.x.x. The package naming has changed, replacing the snapshot date with the version number + descriptive information. E.g. this -release is "pthreads-w32-2-0-0-release". +release is "pthreads-win32-2-0-0-release". Bugs fixed ---------- @@ -878,7 +878,7 @@ New features * A Microsoft-style version resource has been added to the DLL for applications that wish to check DLL compatibility at runtime. -* pthreads-w32 DLL naming has been extended to allow incompatible DLL +* pthreads-win32 DLL naming has been extended to allow incompatible DLL versions to co-exist in the same filesystem. See the README file for details, but briefly: while the version information inside the DLL will change with each release from now on, the DLL version names will only change if the new @@ -888,7 +888,7 @@ The versioning scheme has been borrowed from GNU Libtool, and the DLL naming scheme is from Cygwin. Provided the Libtool-style numbering rules are honoured, the Cygwin DLL naming scheme automatcally ensures that DLL name changes are minimal and that applications will not load an incompatible -pthreads-w32 DLL. +pthreads-win32 DLL. Those who use the pre-built DLLs will find that the DLL/LIB names have a new suffix (1) in this snapshot. E.g. pthreadVC1.dll etc. @@ -906,7 +906,7 @@ Certain POSIX macros have changed. These changes are intended to conform to the Single Unix Specification version 3, which states that, if set to 0 (zero) or not defined, then applications may use -sysconf() to determine their values at runtime. pthreads-w32 does not +sysconf() to determine their values at runtime. pthreads-win32 does not implement sysconf(). The following macros are no longer undefined, but defined and set to -1 @@ -1101,7 +1101,7 @@ for implicit POSIX threads. New feature - cancellation of/by Win32 (non-POSIX) threads --------------------------------------------------------- Since John Bossom's original implementation, the library has allowed non-POSIX -initialised threads (Win32 threads) to call pthreads-w32 routines and +initialised threads (Win32 threads) to call pthreads-win32 routines and therefore interact with POSIX threads. This is done by creating an on-the-fly POSIX thread ID for the Win32 thread that, once created, allows fully reciprical interaction. This did not extend to thread cancellation (async or @@ -1311,7 +1311,7 @@ There are a few reasons: do the expected thing in that context. (There are equally respected people who believe it should not be easily accessible, if it's there at all, for unconditional conformity to other implementations.) -- because pthreads-w32 is one of the few implementations that has +- because pthreads-win32 is one of the few implementations that has the choice, perhaps the only freely available one, and so offers a laboratory to people who may want to explore the effects; - although the code will always be around somewhere for anyone who @@ -1450,7 +1450,7 @@ return an error (ESRCH). * errno: An incorrect compiler directive caused a local version of errno to be used instead of the Win32 errno. Both instances are -thread-safe but applications checking errno after a pthreads-w32 +thread-safe but applications checking errno after a pthreads-win32 call would be wrong. Fixing this also fixed a bad compiler option in the testsuite (/MT should have been /MD) which is needed to link with the correct library MSVCRT.LIB. diff --git a/docs/NOTICE.md b/docs/NOTICE.md index ef47cafe..1f85de66 100644 --- a/docs/NOTICE.md +++ b/docs/NOTICE.md @@ -1,6 +1,6 @@ -pthreads-w32 / Pthreads4w - POSIX threads for Windows +pthreads-win32 / Pthreads4w - POSIX threads for Windows Copyright 1998 John E. Bossom -Copyright 1999-2018, pthreads-w32 / Pthreads4w contributors +Copyright 1999-2018, pthreads-win32 / Pthreads4w contributors This product includes software developed through the colaborative effort of several individuals, each of whom is listed in the file diff --git a/docs/README.md b/docs/README.md index 16ea39f0..0128e46e 100644 --- a/docs/README.md +++ b/docs/README.md @@ -4,7 +4,7 @@ PTHREADS4W (a.k.a. PTHREADS-WIN32) What is it? ----------- -pthreads-w32 / Pthreads4w is an Open Source Software implementation of the Threads +pthreads-win32 / Pthreads4w is an Open Source Software implementation of the Threads component of the POSIX 1003.1c 1995 Standard (or later) for Microsoft's Windows environment. Some functions from POSIX 1003.1b are also supported, including semaphores. Other related functions include the set of read-write @@ -132,7 +132,7 @@ Microsoft version numbers use 4 integers: 0.0.0.0 -pthreads-w32 uses the first 3 following the standard major.minor.micro +pthreads-win32 uses the first 3 following the standard major.minor.micro system. We had claimed to follow the Libtool convention but this has not been the case with recent releases. Binary compatibility and consequently library file naming has not changed over this time either @@ -171,7 +171,7 @@ applications can continue to be used. For pre .NET Windows systems, this inevitably requires incompatible versions of the same DLLs to have different names. -pthreads-w32 has adopted the Cygwin convention of appending a single +pthreads-win32 has adopted the Cygwin convention of appending a single integer number to the DLL name. The number used is simply the library's major version number. diff --git a/errno.c b/errno.c index 6e864354..42d36744 100644 --- a/errno.c +++ b/errno.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/global.c b/global.c index a78e8bad..00db862c 100644 --- a/global.c +++ b/global.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/implement.h b/implement.h index e51f8766..73fbf6f6 100644 --- a/implement.h +++ b/implement.h @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #if !defined(_IMPLEMENT_H) diff --git a/manual/ChangeLog b/manual/ChangeLog index 4f936e54..f9864494 100644 --- a/manual/ChangeLog +++ b/manual/ChangeLog @@ -1,6 +1,6 @@ 2016-12-25 Ross Johnson - * Change all references to "pthreads-w32" etc. to "pthreads-w32" + * Change all references to "pthreads-win32" etc. to "pthreads-win32" * Change all references to the sourceware projects web page to the SourceForge project web page. @@ -44,7 +44,7 @@ * PortabilityIssues.html: Was nonPortableIssues.html. * index.html: Updated; add table of contents at top. - * *.html: Add pthreads-w32 header info; add link back to the + * *.html: Add pthreads-win32 header info; add link back to the index page 'index.html'. 2005-05-06 Ross Johnson diff --git a/manual/PortabilityIssues.html b/manual/PortabilityIssues.html index fb4f69eb..1072087c 100644 --- a/manual/PortabilityIssues.html +++ b/manual/PortabilityIssues.html @@ -18,7 +18,7 @@

POSIX Threads for Windows – REFERENCE – -pthreads-w32

+pthreads-win32

Reference Index

Table of Contents

Name

@@ -685,7 +685,7 @@

Thread priority

4, 5, and 6 are not supported.

As you can see, the real priority levels available to any individual Win32 thread are non-contiguous.

-

An application using pthreads-w32 should +

An application using pthreads-win32 should not make assumptions about the numbers used to represent thread priority levels, except that they are monotonic between the values returned by sched_get_priority_min() and sched_get_priority_max(). @@ -693,7 +693,7 @@

Thread priority

range of numbers between -15 and 15, while at least one version of WinCE (3.0) defines the minimum priority (THREAD_PRIORITY_LOWEST) as 5, and the maximum priority (THREAD_PRIORITY_HIGHEST) as 1.

-

Internally, pthreads-w32 maps any +

Internally, pthreads-win32 maps any priority levels between THREAD_PRIORITY_IDLE and THREAD_PRIORITY_LOWEST to THREAD_PRIORITY_LOWEST, or between THREAD_PRIORITY_TIME_CRITICAL and THREAD_PRIORITY_HIGHEST to @@ -701,10 +701,10 @@

Thread priority

REALTIME_PRIORITY_CLASS even if levels -7, -6, -5, -4, -3, 3, 4, 5, and 6 are supported.

If it wishes, a Win32 application using -pthreads-w32 can use the Win32 defined priority macros +pthreads-win32 can use the Win32 defined priority macros THREAD_PRIORITY_IDLE through THREAD_PRIORITY_TIME_CRITICAL.

Author

-

Ross Johnson for use with pthreads-w32.

+

Ross Johnson for use with pthreads-win32.

See also



diff --git a/manual/cpu_set.html b/manual/cpu_set.html index 83429a4d..2f4354b6 100644 --- a/manual/cpu_set.html +++ b/manual/cpu_set.html @@ -13,7 +13,7 @@

POSIX -Threads for Windows – REFERENCE - pthreads-w32

+Threads for Windows – REFERENCE - pthreads-win32

Reference Index

Table of Contents

Name

diff --git a/manual/index.html b/manual/index.html index 497f993d..2be20621 100644 --- a/manual/index.html +++ b/manual/index.html @@ -20,12 +20,12 @@

POSIX Threads for Windows – REFERENCE - -pthreads-w32

+pthreads-win32

Table of Contents

POSIX threads API reference
Miscellaneous POSIX -thread safe routines provided by pthreads-w32
Non-portable -pthreads-w32 routines
Other

+thread safe routines provided by pthreads-win32
Non-portable +pthreads-win32 routines
Other

POSIX threads API reference

cpu_set

@@ -148,7 +148,7 @@

POSIX threads API

sem_wait

sigwait

Non-portable -pthreads-w32 routines

+pthreads-win32 routines

pthreadCancelableTimedWait

pthreadCancelableWait

pthread_attr_getaffinity_np

diff --git a/manual/pthreadCancelableWait.html b/manual/pthreadCancelableWait.html index a50ea4f0..d569bee8 100644 --- a/manual/pthreadCancelableWait.html +++ b/manual/pthreadCancelableWait.html @@ -18,7 +18,7 @@

POSIX Threads for Windows – REFERENCE – -pthreads-w32

+pthreads-win32

Reference Index

Table of Contents

Name

@@ -64,7 +64,7 @@

Errors

The interval timeout milliseconds elapsed before waitHandle was signalled.

Author

-

Ross Johnson for use with pthreads-w32.

+

Ross Johnson for use with pthreads-win32.

See also

pthread_cancel(), pthread_self()

diff --git a/manual/pthread_attr_init.html b/manual/pthread_attr_init.html index bcef948d..c3a3ed65 100644 --- a/manual/pthread_attr_init.html +++ b/manual/pthread_attr_init.html @@ -20,7 +20,7 @@

POSIX Threads for Windows – REFERENCE – -pthreads-w32

+pthreads-win32

Reference Index

Table of Contents

Name

@@ -151,11 +151,11 @@

schedpolicy

(regular, non-real-time scheduling), SCHED_RR (real-time, round-robin) or SCHED_FIFO (real-time, first-in first-out).

-

pthreads-w32 only supports SCHED_OTHER - attempting +

pthreads-win32 only supports SCHED_OTHER - attempting to set one of the other policies will return an error ENOTSUP.

Default value: SCHED_OTHER.

-

pthreads-w32 only supports SCHED_OTHER - attempting +

pthreads-win32 only supports SCHED_OTHER - attempting to set one of the other policies will return an error ENOTSUP.

The scheduling policy of a thread can be changed after creation with pthread_setschedparam(3) @@ -164,7 +164,7 @@

schedpolicy

schedparam

Contain the scheduling parameters (essentially, the scheduling priority) for the thread.

-

pthreads-w32 supports the priority levels defined by the +

pthreads-win32 supports the priority levels defined by the Windows system it is running on. Under Windows, thread priorities are relative to the process priority class, which must be set via the Windows W32 API.

@@ -185,13 +185,13 @@

inheritsched

scope

Define the scheduling contention scope for the created thread. The -only value supported in the pthreads-w32 implementation is +only value supported in the pthreads-win32 implementation is PTHREAD_SCOPE_SYSTEM, meaning that the threads contend for CPU time with all processes running on the machine. The other value specified by the standard, PTHREAD_SCOPE_PROCESS, means that scheduling contention occurs only between the threads of the running process.

-

pthreads-w32 only supports PTHREAD_SCOPE_SYSTEM.

+

pthreads-win32 only supports PTHREAD_SCOPE_SYSTEM.

Default value: PTHREAD_SCOPE_SYSTEM.

Return Value

@@ -246,7 +246,7 @@

Errors

ENOTSUP
policy is not SCHED_OTHER, the only value supported - by pthreads-w32.
+ by pthreads-win32.

The pthread_attr_setinheritsched function returns the @@ -272,14 +272,14 @@

Errors

ENOTSUP
the specified scope is PTHREAD_SCOPE_PROCESS (not - supported by pthreads-w32). + supported by pthreads-win32).

Author

Xavier Leroy <Xavier.Leroy@inria.fr>

-

Modified by Ross Johnson for use with pthreads-w32.

+

Modified by Ross Johnson for use with pthreads-win32.

See Also

pthread_create(3) , pthread_join(3) , diff --git a/manual/pthread_attr_setstackaddr.html b/manual/pthread_attr_setstackaddr.html index b26bbceb..5bbaed6a 100644 --- a/manual/pthread_attr_setstackaddr.html +++ b/manual/pthread_attr_setstackaddr.html @@ -18,7 +18,7 @@

POSIX Threads for Windows – REFERENCE – -pthreads-w32

+pthreads-win32

Reference Index

Table of Contents

Name

@@ -42,7 +42,7 @@

Description

to be used for the created thread’s stack. The size of the storage shall be at least {PTHREAD_STACK_MIN}.

-

pthreads-w32 defines _POSIX_THREAD_ATTR_STACKADDR in +

pthreads-win32 defines _POSIX_THREAD_ATTR_STACKADDR in pthread.h as -1 to indicate that these routines are implemented but cannot used to set or get the stack address. These routines always return the error ENOSYS when called.

@@ -129,7 +129,7 @@

Copyright

can be obtained online at http://www.opengroup.org/unix/online.html .

-

Modified by Ross Johnson for use with pthreads-w32.

+

Modified by Ross Johnson for use with pthreads-win32.


Table of Contents

    diff --git a/manual/pthread_attr_setstacksize.html b/manual/pthread_attr_setstacksize.html index 8c853a6e..2f6922c7 100644 --- a/manual/pthread_attr_setstacksize.html +++ b/manual/pthread_attr_setstacksize.html @@ -5,7 +5,7 @@ PTHREAD_ATTR_SETSTACKSIZE(3) manual page -

    POSIX Threads for Windows – REFERENCE - pthreads-w32

    +

    POSIX Threads for Windows – REFERENCE - pthreads-win32

    Reference Index

    Table of Contents

    Name

    @@ -28,10 +28,10 @@

    Description

    The stacksize attribute shall define the minimum stack size (in bytes) allocated for the created threads stack.

    -

    pthreads-w32 defines _POSIX_THREAD_ATTR_STACKSIZE in +

    pthreads-win32 defines _POSIX_THREAD_ATTR_STACKSIZE in pthread.h to indicate that these routines are implemented and may be used to set or get the stack size.

    -

    Default value: 0 (in pthreads-w32 a value of 0 means the stack +

    Default value: 0 (in pthreads-win32 a value of 0 means the stack will grow as required)

    Return Value

    Upon successful completion, pthread_attr_getstacksize and @@ -87,7 +87,7 @@

    Copyright

    can be obtained online at http://www.opengroup.org/unix/online.html .

    -

    Modified by Ross Johnson for use with pthreads-w32.

    +

    Modified by Ross Johnson for use with pthreads-win32.


    Table of Contents

      diff --git a/manual/pthread_barrier_init.html b/manual/pthread_barrier_init.html index 8af6868d..c583ad3e 100644 --- a/manual/pthread_barrier_init.html +++ b/manual/pthread_barrier_init.html @@ -5,7 +5,7 @@ PTHREAD_BARRIER_INIT(3) manual page -

      POSIX Threads for Windows – REFERENCE - pthreads-w32

      +

      POSIX Threads for Windows – REFERENCE - pthreads-win32

      Reference Index

      Table of Contents

      Name

      @@ -120,7 +120,7 @@

      Application Usage

      functions are part of the Barriers option and need not be provided on all implementations.

      -

      pthreads-w32 defines _POSIX_BARRIERS to indicate +

      pthreads-win32 defines _POSIX_BARRIERS to indicate that these routines are implemented and may be used.

      Rationale

      None. @@ -131,7 +131,7 @@

      Future Directions

      Known Bugs

      In - pthreads-w32, + pthreads-win32, the behaviour of threads which enter pthread_barrier_wait(3) while the barrier is being destroyed is undefined.
      @@ -153,7 +153,7 @@

      Copyright

      can be obtained online at http://www.opengroup.org/unix/online.html .

      -

      Modified by Ross Johnson for use with pthreads-w32.

      +

      Modified by Ross Johnson for use with pthreads-win32.


      Table of Contents

        diff --git a/manual/pthread_barrier_wait.html b/manual/pthread_barrier_wait.html index c62c57d0..b3449c41 100644 --- a/manual/pthread_barrier_wait.html +++ b/manual/pthread_barrier_wait.html @@ -5,7 +5,7 @@ PTHREAD_BARRIER_WAIT(3) manual page -

        POSIX Threads for Windows – REFERENCE - pthreads-w32

        +

        POSIX Threads for Windows – REFERENCE - pthreads-win32

        Reference Index

        Table of Contents

        Name

        @@ -87,7 +87,7 @@

        Application Usage

        The pthread_barrier_wait function is part of the Barriers option and need not be provided on all implementations.

        -

        pthreads-w32 defines _POSIX_BARRIERS to indicate +

        pthreads-win32 defines _POSIX_BARRIERS to indicate that this routine is implemented and may be used.

        Rationale

        None. @@ -117,7 +117,7 @@

        Copyright

        can be obtained online at http://www.opengroup.org/unix/online.html .

        -

        Modified by Ross Johnson for use with pthreads-w32.

        +

        Modified by Ross Johnson for use with pthreads-win32.


        Table of Contents

          diff --git a/manual/pthread_barrierattr_init.html b/manual/pthread_barrierattr_init.html index a81032e2..6305d9f0 100644 --- a/manual/pthread_barrierattr_init.html +++ b/manual/pthread_barrierattr_init.html @@ -5,7 +5,7 @@ PTHREAD_BARRIERATTR_INIT(3) manual page -

          POSIX Threads for Windows – REFERENCE - pthreads-w32

          +

          POSIX Threads for Windows – REFERENCE - pthreads-win32

          Reference Index

          Table of Contents

          Name

          @@ -76,7 +76,7 @@

          Application Usage

          pthread_barrierattr_init functions are part of the Barriers option and need not be provided on all implementations.

          -

          pthreads-w32 defines _POSIX_BARRIERS to indicate +

          pthreads-win32 defines _POSIX_BARRIERS to indicate that these routines are implemented and may be used.

          Rationale

          None. @@ -102,7 +102,7 @@

          Copyright

          can be obtained online at http://www.opengroup.org/unix/online.html .

          -

          Modified by Ross Johnson for use with pthreads-w32.

          +

          Modified by Ross Johnson for use with pthreads-win32.


          Table of Contents

            diff --git a/manual/pthread_barrierattr_setpshared.html b/manual/pthread_barrierattr_setpshared.html index f1a323ca..4400ce0d 100644 --- a/manual/pthread_barrierattr_setpshared.html +++ b/manual/pthread_barrierattr_setpshared.html @@ -5,7 +5,7 @@ PTHREAD_BARRIERATTR_SETPSHARED(3) manual page -

            POSIX Threads for Windows – REFERENCE - pthreads-w32

            +

            POSIX Threads for Windows – REFERENCE - pthreads-win32

            Reference Index

            Table of Contents

            Name

            @@ -39,7 +39,7 @@

            Description

            PTHREAD_PROCESS_PRIVATE. Both constants PTHREAD_PROCESS_SHARED and PTHREAD_PROCESS_PRIVATE are defined in <pthread.h>.

            -

            pthreads-w32 defines _POSIX_THREAD_PROCESS_SHARED in +

            pthreads-win32 defines _POSIX_THREAD_PROCESS_SHARED in pthread.h as -1 to indicate that these routines are implemented but that the process shared attribute is not supported.

            Additional attributes, their default values, and the names of the @@ -76,7 +76,7 @@

            Errors

            ENOSYS
            The value specified by attr was PTHREAD_PROCESS_SHARED - (pthreads-w32).
            + (pthreads-win32).

            These functions shall not return an error code of [EINTR].

            @@ -90,7 +90,7 @@

            Application Usage

            pthread_barrierattr_setpshared functions are part of the Barriers option and need not be provided on all implementations.

            -

            pthreads-w32 defines _POSIX_BARRIERS and +

            pthreads-win32 defines _POSIX_BARRIERS and _POSIX_THREAD_PROCESS_SHARED in pthread.h as -1 to indicate that these routines are implemented and may be used, but do not support the process shared option.

            @@ -119,7 +119,7 @@

            Copyright

            can be obtained online at http://www.opengroup.org/unix/online.html .

            -

            Modified by Ross Johnson for use with pthreads-w32.

            +

            Modified by Ross Johnson for use with pthreads-win32.


            Table of Contents

              diff --git a/manual/pthread_cancel.html b/manual/pthread_cancel.html index 26987bfd..ace8d222 100644 --- a/manual/pthread_cancel.html +++ b/manual/pthread_cancel.html @@ -5,7 +5,7 @@ PTHREAD_CANCEL(3) manual page -

              POSIX Threads for Windows – REFERENCE - pthreads-w32

              +

              POSIX Threads for Windows – REFERENCE - pthreads-win32

              Reference Index

              Table of Contents

              Name

              @@ -64,14 +64,14 @@

              Description

              location pointed to by oldtype, and can thus be restored later by another call to pthread_setcanceltype.

              -

              pthreads-w32 provides two levels of support for +

              pthreads-win32 provides two levels of support for PTHREAD_CANCEL_ASYNCHRONOUS: full and partial. Full support requires an additional DLL and driver be installed on the Windows system (see the See Also section below) that allows blocked threads to be cancelled immediately. Partial support means that the target thread will not cancel until it resumes execution naturally. Partial support is provided if either the DLL or the driver are not -automatically detected by the pthreads-w32 library at run-time.

              +automatically detected by the pthreads-win32 library at run-time.

              Threads are always created by pthread_create(3) with cancellation enabled and deferred. That is, the initial cancellation state is PTHREAD_CANCEL_ENABLE and the initial @@ -87,7 +87,7 @@

              Description


              pthread_cond_timedwait(3)
              pthread_testcancel(3)
              sem_wait(3)
              sem_timedwait(3)
              sigwait(3)

              -

              pthreads-w32 provides two functions to enable additional +

              pthreads-win32 provides two functions to enable additional cancellation points to be created in user functions that block on Win32 HANDLEs:

              pthreadCancelableWait() @@ -144,12 +144,12 @@

              Errors

              Author

              Xavier Leroy <Xavier.Leroy@inria.fr>

              -

              Modified by Ross Johnson for use with pthreads-w32.

              +

              Modified by Ross Johnson for use with pthreads-win32.

              See Also

              pthread_exit(3) , pthread_cleanup_push(3) , pthread_cleanup_pop(3) -, pthreads-w32 package README file 'Prerequisites' section. +, pthreads-win32 package README file 'Prerequisites' section.

              Bugs

              POSIX specifies that a number of system calls (basically, all @@ -157,7 +157,7 @@

              Bugs

              , write(2) , wait(2) , etc.) and library functions that may call these system calls (e.g. fprintf(3) ) are cancellation -points. pthreads-w32 is not integrated enough with the C +points. pthreads-win32 is not integrated enough with the C library to implement this, and thus none of the C library functions is a cancellation point.

              diff --git a/manual/pthread_cleanup_push.html b/manual/pthread_cleanup_push.html index 2ca9e564..b0905772 100644 --- a/manual/pthread_cleanup_push.html +++ b/manual/pthread_cleanup_push.html @@ -5,7 +5,7 @@ PTHREAD_CLEANUP_PUSH(3) manual page -

              POSIX Threads for Windows – REFERENCE - pthreads-w32

              +

              POSIX Threads for Windows – REFERENCE - pthreads-win32

              Reference Index

              Table of Contents

              Name

              @@ -70,7 +70,7 @@

              Author

              <Xavier.Leroy@inria.fr>
              Modified by -Ross Johnson for use with pthreads-w32.
              +Ross Johnson for use with pthreads-win32.

              See Also

              pthread_exit(3) , pthread_cancel(3) , diff --git a/manual/pthread_cond_init.html b/manual/pthread_cond_init.html index dc9dbf80..4c2f8f0d 100644 --- a/manual/pthread_cond_init.html +++ b/manual/pthread_cond_init.html @@ -5,7 +5,7 @@ PTHREAD_COND_INIT(3) manual page -

              POSIX Threads for Windows – REFERENCE - pthreads-w32

              +

              POSIX Threads for Windows – REFERENCE - pthreads-win32

              Reference Index

              Table of Contents

              Name

              @@ -54,7 +54,7 @@

              Description

              Variables of type pthread_cond_t can also be initialized statically, using the constant PTHREAD_COND_INITIALIZER. In -the pthreads-w32 implementation, an application should still +the pthreads-win32 implementation, an application should still call pthread_cond_destroy at some point to ensure that any resources consumed by the condition variable are released.

              pthread_cond_signal restarts one of the threads that are @@ -211,7 +211,7 @@

              Author

              Xavier Leroy <Xavier.Leroy@inria.fr>

              -

              Modified by Ross Johnson for use with pthreads-w32.

              +

              Modified by Ross Johnson for use with pthreads-win32.

              See Also

              pthread_condattr_init(3) , pthread_mutex_lock(3) diff --git a/manual/pthread_condattr_init.html b/manual/pthread_condattr_init.html index 8d1d7792..ceac9f46 100644 --- a/manual/pthread_condattr_init.html +++ b/manual/pthread_condattr_init.html @@ -5,7 +5,7 @@ PTHREAD_CONDATTR_INIT(3) manual page -

              POSIX Threads for Windows – REFERENCE - pthreads-w32

              +

              POSIX Threads for Windows – REFERENCE - pthreads-win32

              Reference Index

              Table of Contents

              Name

              @@ -32,7 +32,7 @@

              Description

              object attr and fills it with default values for the attributes. pthread_condattr_destroy destroys a condition attribute object, which must not be reused until it is reinitialized.

              -

              pthreads-w32 defines _POSIX_THREAD_PROCESS_SHARED in +

              pthreads-win32 defines _POSIX_THREAD_PROCESS_SHARED in pthread.h as -1 to indicate that the attribute routines are implemented but that the process shared attribute is not supported.

              Return Value

              @@ -64,7 +64,7 @@

              Author

              Xavier Leroy <Xavier.Leroy@inria.fr>

              -

              Modified by Ross Johnson for use with pthreads-w32.

              +

              Modified by Ross Johnson for use with pthreads-win32.

              See Also

              pthread_cond_init(3) .

              diff --git a/manual/pthread_condattr_setpshared.html b/manual/pthread_condattr_setpshared.html index ab609d2e..0a2fe95f 100644 --- a/manual/pthread_condattr_setpshared.html +++ b/manual/pthread_condattr_setpshared.html @@ -5,7 +5,7 @@ PTHREAD_CONDATTR_SETPSHARED(3) manual page -

              POSIX Threads for Windows – REFERENCE - pthreads-w32

              +

              POSIX Threads for Windows – REFERENCE - pthreads-win32

              Reference Index

              Table of Contents

              Name

              @@ -39,7 +39,7 @@

              Description

              such a condition variable, the behavior is undefined. The default value of the attribute is PTHREAD_PROCESS_PRIVATE.

              -

              pthreads-w32 defines _POSIX_THREAD_PROCESS_SHARED in +

              pthreads-win32 defines _POSIX_THREAD_PROCESS_SHARED in pthread.h as -1 to indicate that these routines are implemented but that the process shared attribute is not supported.

              Return Value

              @@ -74,7 +74,7 @@

              Errors

              ENOSYS
              The value specified by attr was PTHREAD_PROCESS_SHARED - (pthreads-w32).
              + (pthreads-win32).

              These functions shall not return an error code of [EINTR].

              @@ -84,7 +84,7 @@

              Examples

              None.

              Application Usage

              -

              pthreads-w32 defines _POSIX_THREAD_PROCESS_SHARED in +

              pthreads-win32 defines _POSIX_THREAD_PROCESS_SHARED in pthread.h as -1 to indicate that these routines are implemented and may be used, but do not support the process shared option.

              Rationale

              @@ -113,7 +113,7 @@

              Copyright

              can be obtained online at http://www.opengroup.org/unix/online.html .

              -

              Modified by Ross Johnson for use with pthreads-w32.

              +

              Modified by Ross Johnson for use with pthreads-win32.


              Table of Contents

                diff --git a/manual/pthread_create.html b/manual/pthread_create.html index 2da6d4fa..48e254b0 100644 --- a/manual/pthread_create.html +++ b/manual/pthread_create.html @@ -18,7 +18,7 @@

                POSIX Threads for Windows – REFERENCE - -pthreads-w32

                +pthreads-win32

                Reference Index

                Table of Contents

                Name

                @@ -42,7 +42,7 @@

                Description

                with the result returned by start_routine as exit code.

                The initial signal state of the new thread is inherited from it's -creating thread and there are no pending signals. pthreads-w32 +creating thread and there are no pending signals. pthreads-win32 does not yet implement signals.

                The initial CPU affinity of the new thread is inherited from it's creating thread. A threads CPU affinity can be obtained through @@ -80,7 +80,7 @@

                Author

                Xavier Leroy <Xavier.Leroy@inria.fr>

                -

                Modified by Ross Johnson for use with pthreads-w32.

                +

                Modified by Ross Johnson for use with pthreads-win32.

                See Also

                pthread_exit(3) , pthread_join(3) , diff --git a/manual/pthread_delay_np.html b/manual/pthread_delay_np.html index 88d02e09..b2978111 100644 --- a/manual/pthread_delay_np.html +++ b/manual/pthread_delay_np.html @@ -5,7 +5,7 @@ PTHREAD_DELAY_NP(3) manual page -

                POSIX Threads for Windows – REFERENCE - pthreads-w32

                +

                POSIX Threads for Windows – REFERENCE - pthreads-win32

                Reference Index

                Table of Contents

                Name

                @@ -42,7 +42,7 @@

                Errors

                The value specified by interval is invalid.

                Author

                -

                Ross Johnson for use with pthreads-w32.

                +

                Ross Johnson for use with pthreads-win32.


                Table of Contents

                  diff --git a/manual/pthread_detach.html b/manual/pthread_detach.html index c7b2b547..70ccb90d 100644 --- a/manual/pthread_detach.html +++ b/manual/pthread_detach.html @@ -5,7 +5,7 @@ PTHREAD_DETACH(3) manual page -

                  POSIX Threads for Windows – REFERENCE - pthreads-w32

                  +

                  POSIX Threads for Windows – REFERENCE - pthreads-win32

                  Reference Index

                  Table of Contents

                  Name

                  @@ -55,7 +55,7 @@

                  Author

                  Xavier Leroy <Xavier.Leroy@inria.fr>

                  -

                  Modified by Ross Johnson for use with pthreads-w32.

                  +

                  Modified by Ross Johnson for use with pthreads-win32.

                  See Also

                  pthread_create(3) , pthread_join(3) , diff --git a/manual/pthread_getunique_np.html b/manual/pthread_getunique_np.html index 677d5e47..384cb3c9 100755 --- a/manual/pthread_getunique_np.html +++ b/manual/pthread_getunique_np.html @@ -14,7 +14,7 @@

                  POSIX Threads for Windows – REFERENCE - -pthreads-w32

                  +pthreads-win32

                  Reference Index

                  Table of Contents

                  Name

                  @@ -27,7 +27,7 @@

                  Synopsis

                  Description

                  Returns the unique 64 bit sequence number assigned to thread.

                  -

                  In pthreads-w32:

                  +

                  In pthreads-win32:

                  • the value returned is not reused after the thread terminates so it is unique for the life of the process

                    @@ -45,7 +45,7 @@

                    Return Value

                    Errors

                    None.

                    Author

                    -

                    Ross Johnson for use with pthreads-w32.

                    +

                    Ross Johnson for use with pthreads-win32.


                    Table of Contents

                      diff --git a/manual/pthread_getw32threadhandle_np.html b/manual/pthread_getw32threadhandle_np.html index fe07dd63..1bd3f0b6 100644 --- a/manual/pthread_getw32threadhandle_np.html +++ b/manual/pthread_getw32threadhandle_np.html @@ -5,7 +5,7 @@ PTHREAD_GETW32THREADHANDLE_NP(3) manual page -

                      POSIX Threads for Windows – REFERENCE - pthreads-w32

                      +

                      POSIX Threads for Windows – REFERENCE - pthreads-win32

                      Reference Index

                      Table of Contents

                      Name

                      @@ -28,7 +28,7 @@

                      Return Value

                      Errors

                      None.

                      Author

                      -

                      Ross Johnson for use with pthreads-w32.

                      +

                      Ross Johnson for use with pthreads-win32.


                      Table of Contents

                        diff --git a/manual/pthread_join.html b/manual/pthread_join.html index 87007f76..5404a4d6 100644 --- a/manual/pthread_join.html +++ b/manual/pthread_join.html @@ -14,7 +14,7 @@

                        POSIX Threads for Windows – REFERENCE - -pthreads-w32

                        +pthreads-win32

                        Reference Index

                        Table of Contents

                        Name

                        @@ -114,7 +114,7 @@

                        Author

                        Xavier Leroy <Xavier.Leroy@inria.fr>

                        -

                        Modified by Ross Johnson for use with pthreads-w32. +

                        Modified by Ross Johnson for use with pthreads-win32.

                        See Also

                        pthread_exit(3) , diff --git a/manual/pthread_key_create.html b/manual/pthread_key_create.html index fdb6c23c..b7e8c04f 100644 --- a/manual/pthread_key_create.html +++ b/manual/pthread_key_create.html @@ -5,7 +5,7 @@ PTHREAD_KEY_CREATE(3) manual page -

                        POSIX Threads for Windows – REFERENCE - pthreads-w32

                        +

                        POSIX Threads for Windows – REFERENCE - pthreads-win32

                        Reference Index

                        Table of Contents

                        Name

                        @@ -89,7 +89,7 @@

                        Description

                        either memory leakage or infinite loops if destr_function has already been called at least PTHREAD_DESTRUCTOR_ITERATIONS times.

                        -

                        pthreads-w32 stops running key +

                        pthreads-win32 stops running key destr_function routines after PTHREAD_DESTRUCTOR_ITERATIONS iterations, even if some non- NULL values with associated descriptors remain. If memory is allocated and associated with a key @@ -142,7 +142,7 @@

                        Errors

                        Author

                        Xavier Leroy <Xavier.Leroy@inria.fr>

                        -

                        Modified by Ross Johnson for use with pthreads-w32.

                        +

                        Modified by Ross Johnson for use with pthreads-win32.

                        See Also

                        pthread_create(3) , pthread_exit(3) , diff --git a/manual/pthread_kill.html b/manual/pthread_kill.html index 0f1c4418..fdf21784 100644 --- a/manual/pthread_kill.html +++ b/manual/pthread_kill.html @@ -5,7 +5,7 @@ PTHREAD_KILL(3) manual page -

                        POSIX Threads for Windows – REFERENCE - pthreads-w32

                        +

                        POSIX Threads for Windows – REFERENCE - pthreads-win32

                        Reference Index

                        Table of Contents

                        Name

                        @@ -25,7 +25,7 @@

                        Description

                        pthread_sigmask changes the signal mask for the calling thread as described by the how and newmask arguments. If oldmask is not NULL, the previous signal mask is -stored in the location pointed to by oldmask. pthreads-w32 +stored in the location pointed to by oldmask. pthreads-win32 implements this function but no other function uses the signal mask yet.

                        The meaning of the how and newmask arguments is the @@ -41,7 +41,7 @@

                        Description

                        shared between all threads.

                        pthread_kill send signal number signo to the thread -thread. pthreads-w32 only supports signal number 0, +thread. pthreads-win32 only supports signal number 0, which does not send any signal but causes pthread_kill to return an error if thread is not valid.

                        sigwait suspends the calling thread until one of the @@ -50,7 +50,7 @@

                        Description

                        by sig and returns. The signals in set must be blocked and not ignored on entrance to sigwait. If the delivered signal has a signal handler function attached, that function is not -called. pthreads-w32 implements this function as a +called. pthreads-win32 implements this function as a cancellation point only - it does not wait for any signals and does not change the location pointed to by sig.

                        Cancellation

                        @@ -93,7 +93,7 @@

                        Errors

                        Author

                        Xavier Leroy <Xavier.Leroy@inria.fr>

                        -

                        Modified by Ross Johnson for use with pthreads-w32.

                        +

                        Modified by Ross Johnson for use with pthreads-win32.

                        See Also

                        @@ -108,13 +108,13 @@

                        Notes

                        because all threads inherit their initial sigmask from their creating thread.

                        Bugs

                        -

                        pthreads-w32 does not implement signals yet and so these +

                        pthreads-win32 does not implement signals yet and so these routines have almost no use except to prevent the compiler or linker from complaining. pthread_kill is useful in determining if the thread is a valid thread, but since many threads implementations reuse thread IDs, the valid thread may no longer be the thread you think it is, and so this method of determining thread validity is not -portable, and very risky. pthreads-w32 from version 1.0.0 +portable, and very risky. pthreads-win32 from version 1.0.0 onwards implements pseudo-unique thread IDs, so applications that use this technique (but really shouldn't) have some protection.


                        diff --git a/manual/pthread_mutex_init.html b/manual/pthread_mutex_init.html index 6536f07f..ae7505df 100644 --- a/manual/pthread_mutex_init.html +++ b/manual/pthread_mutex_init.html @@ -16,7 +16,7 @@

                        POSIX Threads for Windows – REFERENCE - -pthreads-w32

                        +pthreads-win32

                        Reference Index

                        Table of Contents

                        Name

                        @@ -86,7 +86,7 @@

                        Description

                        normal “fast� mutexes), PTHREAD_RECURSIVE_MUTEX_INITIALIZER (for recursive mutexes), and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER (for error checking mutexes). In -the pthreads-w32 implementation, +the pthreads-win32 implementation, an application should still call pthread_mutex_destroy at some point to ensure that any resources consumed by the mutex are released.

                        @@ -135,7 +135,7 @@

                        Description

                        state. If it is of the ‘‘recursive’’ type, it decrements the locking count of the mutex (number of pthread_mutex_lock operations performed on it by the calling thread), and only when this -count reaches zero is the mutex actually unlocked. In pthreads-w32, +count reaches zero is the mutex actually unlocked. In pthreads-win32, non-robust normal or default mutex types do not check the owner of the mutex. For all types of robust mutexes the owner is checked and an error code is returned if the calling thread does not own the @@ -295,7 +295,7 @@

                        Author

                        Xavier Leroy <Xavier.Leroy@inria.fr>

                        -

                        Modified by Ross Johnson for use with pthreads-w32.

                        +

                        Modified by Ross Johnson for use with pthreads-win32.

                        See Also

                        pthread_mutexattr_init(3) , pthread_mutexattr_settype(3) diff --git a/manual/pthread_mutexattr_init.html b/manual/pthread_mutexattr_init.html index 7e5c06a8..4502e029 100644 --- a/manual/pthread_mutexattr_init.html +++ b/manual/pthread_mutexattr_init.html @@ -14,7 +14,7 @@

                        POSIX Threads for Windows – REFERENCE - -pthreads-w32

                        +pthreads-win32

                        Reference Index

                        Table of Contents

                        Name

                        @@ -67,7 +67,7 @@

                        Description

                        the mutex kind attribute in attr and stores it in the location pointed to by type.

                        -

                        pthreads-w32 also recognises the following equivalent +

                        pthreads-win32 also recognises the following equivalent functions that are used in Linux:

                        pthread_mutexattr_setkind_np is an alias for pthread_mutexattr_settype. @@ -98,7 +98,7 @@

                        Description

                        state.

                        The default mutex type is PTHREAD_MUTEX_NORMAL

                        -

                        pthreads-w32 also recognises the following equivalent types +

                        pthreads-win32 also recognises the following equivalent types that are used by Linux:

                        PTHREAD_MUTEX_FAST_NP – equivalent to PTHREAD_MUTEX_NORMAL

                        @@ -166,7 +166,7 @@

                        Return Value

                        Author

                        Xavier Leroy <Xavier.Leroy@inria.fr>

                        -

                        Modified by Ross Johnson for use with pthreads-w32.

                        +

                        Modified by Ross Johnson for use with pthreads-win32.

                        See Also

                        pthread_mutex_init(3) , pthread_mutex_lock(3) @@ -174,7 +174,7 @@

                        See Also

                        .

                        Notes

                        -

                        For speed, pthreads-w32 never checks the thread ownership +

                        For speed, pthreads-win32 never checks the thread ownership of non-robust mutexes of type PTHREAD_MUTEX_NORMAL (or PTHREAD_MUTEX_FAST_NP) when performing operations on the mutex. It is therefore possible for one thread to lock such a mutex diff --git a/manual/pthread_mutexattr_setpshared.html b/manual/pthread_mutexattr_setpshared.html index 0cd38a80..573b9bdd 100644 --- a/manual/pthread_mutexattr_setpshared.html +++ b/manual/pthread_mutexattr_setpshared.html @@ -5,7 +5,7 @@ PTHREAD_MUTEXATTR_SETPSHARED(3) manual page -

                        POSIX Threads for Windows – REFERENCE - pthreads-w32

                        +

                        POSIX Threads for Windows – REFERENCE - pthreads-win32

                        Reference Index

                        Table of Contents

                        Name

                        @@ -38,7 +38,7 @@

                        Description

                        operate on such a mutex, the behavior is undefined. The default value of the attribute shall be PTHREAD_PROCESS_PRIVATE.

                        -

                        pthreads-w32 defines _POSIX_THREAD_PROCESS_SHARED in +

                        pthreads-win32 defines _POSIX_THREAD_PROCESS_SHARED in pthread.h as -1 to indicate that these routines are implemented but the process shared option is not supported.

                        Return Value

                        @@ -111,7 +111,7 @@

                        Copyright

                        can be obtained online at http://www.opengroup.org/unix/online.html .

                        -

                        Modified by Ross Johnson for use with pthreads-w32.

                        +

                        Modified by Ross Johnson for use with pthreads-win32.


                        Table of Contents

                          diff --git a/manual/pthread_num_processors_np.html b/manual/pthread_num_processors_np.html index 9c53258a..41ad6f62 100644 --- a/manual/pthread_num_processors_np.html +++ b/manual/pthread_num_processors_np.html @@ -5,7 +5,7 @@ PTHREAD_NUM_PROCESSORS_NP(3) manual page -

                          POSIX Threads for Windows – REFERENCE - pthreads-w32

                          +

                          POSIX Threads for Windows – REFERENCE - pthreads-win32

                          Reference Index

                          Table of Contents

                          Name

                          @@ -28,7 +28,7 @@

                          Return ValueErrors

                          None.

                          Author

                          -

                          Ross Johnson for use with pthreads-w32.

                          +

                          Ross Johnson for use with pthreads-win32.


                          Table of Contents

                            diff --git a/manual/pthread_once.html b/manual/pthread_once.html index 8be2acfb..122dc219 100644 --- a/manual/pthread_once.html +++ b/manual/pthread_once.html @@ -5,7 +5,7 @@ PTHREAD_ONCE(3) manual page -

                            POSIX Threads for Windows – REFERENCE - pthreads-w32

                            +

                            POSIX Threads for Windows – REFERENCE - pthreads-win32

                            Reference Index

                            Table of Contents

                            Name

                            @@ -54,7 +54,7 @@

                            Errors

                            Author

                            Xavier Leroy <Xavier.Leroy@inria.fr>

                            -

                            Modified by Ross Johnson for use with pthreads-w32.

                            +

                            Modified by Ross Johnson for use with pthreads-win32.


                            Table of Contents

                              diff --git a/manual/pthread_rwlock_init.html b/manual/pthread_rwlock_init.html index ea28ef6e..3a9a94ea 100644 --- a/manual/pthread_rwlock_init.html +++ b/manual/pthread_rwlock_init.html @@ -5,7 +5,7 @@ PTHREAD_RWLOCK_INIT(3) manual page -

                              POSIX Threads for Windows – REFERENCE - pthreads-w32

                              +

                              POSIX Threads for Windows – REFERENCE - pthreads-win32

                              Reference Index

                              Table of Contents

                              Name

                              @@ -48,7 +48,7 @@

                              Description

                              shall not be initialized and the contents of rwlock are undefined.

                              -

                              pthreads-w32 supports statically initialized rwlock +

                              pthreads-win32 supports statically initialized rwlock objects using PTHREAD_RWLOCK_INITIALIZER. An application should still call pthread_rwlock_destroy at some point to ensure that any resources consumed by the read/write @@ -61,7 +61,7 @@

                              Description

                              pthread_rwlock_trywrlock , pthread_rwlock_unlock , or pthread_rwlock_wrlock is undefined.

                              -

                              pthreads-w32 defines _POSIX_READER_WRITER_LOCKS in +

                              pthreads-win32 defines _POSIX_READER_WRITER_LOCKS in pthread.h as 200112L to indicate that the reader/writer routines are implemented and may be used.

                              Return Value

                              @@ -153,7 +153,7 @@

                              Copyright

                              can be obtained online at http://www.opengroup.org/unix/online.html .

                              -

                              Modified by Ross Johnson for use with pthreads-w32.

                              +

                              Modified by Ross Johnson for use with pthreads-win32.


                              Table of Contents

                                diff --git a/manual/pthread_rwlock_rdlock.html b/manual/pthread_rwlock_rdlock.html index 9da53c3c..6d8f2d8e 100644 --- a/manual/pthread_rwlock_rdlock.html +++ b/manual/pthread_rwlock_rdlock.html @@ -5,7 +5,7 @@ PTHREAD_RWLOCK_RDLOCK(3) manual page -

                                POSIX Threads for Windows – REFERENCE - pthreads-w32

                                +

                                POSIX Threads for Windows – REFERENCE - pthreads-win32

                                Reference Index

                                Table of Contents

                                Name

                                @@ -25,7 +25,7 @@

                                Description

                                thread acquires the read lock if a writer does not hold the lock and there are no writers blocked on the lock.

                                -

                                pthreads-w32 does not prefer either writers or readers in +

                                pthreads-win32 does not prefer either writers or readers in acquiring the lock – all threads enter a single prioritised FIFO queue. While this may not be optimally efficient for some applications, it does ensure that one type does not starve the other.

                                @@ -47,9 +47,9 @@

                                Description

                                Results are undefined if any of these functions are called with an uninitialized read-write lock.

                                -

                                pthreads-w32 does not detect deadlock if the thread already +

                                pthreads-win32 does not detect deadlock if the thread already owns the lock for writing.

                                -

                                pthreads-w32 defines _POSIX_READER_WRITER_LOCKS in +

                                pthreads-win32 defines _POSIX_READER_WRITER_LOCKS in pthread.h as 200112L to indicate that the reader/writer routines are implemented and may be used.

                                Return Value

                                @@ -128,7 +128,7 @@

                                Copyright

                                can be obtained online at http://www.opengroup.org/unix/online.html .

                                -

                                Modified by Ross Johnson for use with pthreads-w32.

                                +

                                Modified by Ross Johnson for use with pthreads-win32.


                                Table of Contents

                                  diff --git a/manual/pthread_rwlock_timedrdlock.html b/manual/pthread_rwlock_timedrdlock.html index ba3c8513..cee40b5b 100644 --- a/manual/pthread_rwlock_timedrdlock.html +++ b/manual/pthread_rwlock_timedrdlock.html @@ -5,7 +5,7 @@ PTHREAD_RWLOCK_TIMEDRDLOCK(3) manual page -

                                  POSIX Threads for Windows – REFERENCE - pthreads-w32

                                  +

                                  POSIX Threads for Windows – REFERENCE - pthreads-win32

                                  Reference Index

                                  Table of Contents

                                  Name

                                  @@ -41,7 +41,7 @@

                                  Description

                                  holds a write lock on rwlock. The results are undefined if this function is called with an uninitialized read-write lock.

                                  -

                                  pthreads-w32 defines _POSIX_READER_WRITER_LOCKS in +

                                  pthreads-win32 defines _POSIX_READER_WRITER_LOCKS in pthread.h as 200112L to indicate that the reader/writer routines are implemented and may be used.

                                  Return Value

                                  @@ -116,7 +116,7 @@

                                  Copyright

                                  can be obtained online at http://www.opengroup.org/unix/online.html .

                                  -

                                  Modified by Ross Johnson for use with pthreads-w32.

                                  +

                                  Modified by Ross Johnson for use with pthreads-win32.


                                  Table of Contents

                                    diff --git a/manual/pthread_rwlock_timedwrlock.html b/manual/pthread_rwlock_timedwrlock.html index d569404a..32897d39 100644 --- a/manual/pthread_rwlock_timedwrlock.html +++ b/manual/pthread_rwlock_timedwrlock.html @@ -5,7 +5,7 @@ PTHREAD_RWLOCK_TIMEDWRLOCK(3) manual page -

                                    POSIX Threads for Windows – REFERENCE - pthreads-w32

                                    +

                                    POSIX Threads for Windows – REFERENCE - pthreads-win32

                                    Reference Index

                                    Table of Contents

                                    Name

                                    @@ -41,7 +41,7 @@

                                    Description

                                    holds the read-write lock. The results are undefined if this function is called with an uninitialized read-write lock.

                                    -

                                    pthreads-w32 defines _POSIX_READER_WRITER_LOCKS in +

                                    pthreads-win32 defines _POSIX_READER_WRITER_LOCKS in pthread.h as 200112L to indicate that the reader/writer routines are implemented and may be used.

                                    Return Value

                                    @@ -110,7 +110,7 @@

                                    Copyright

                                    can be obtained online at http://www.opengroup.org/unix/online.html .

                                    -

                                    Modified by Ross Johnson for use with pthreads-w32.

                                    +

                                    Modified by Ross Johnson for use with pthreads-win32.


                                    Table of Contents

                                      diff --git a/manual/pthread_rwlock_unlock.html b/manual/pthread_rwlock_unlock.html index 220192a1..aeec9b28 100644 --- a/manual/pthread_rwlock_unlock.html +++ b/manual/pthread_rwlock_unlock.html @@ -5,7 +5,7 @@ PTHREAD_RWLOCK_UNLOCK(3) manual page -

                                      POSIX Threads for Windows – REFERENCE - pthreads-w32

                                      +

                                      POSIX Threads for Windows – REFERENCE - pthreads-win32

                                      Reference Index

                                      Table of Contents

                                      Name

                                      @@ -34,14 +34,14 @@

                                      Description

                                      read-write lock object, the read-write lock object shall be put in the unlocked state.

                                      -

                                      pthreads-w32 does not prefer either writers or readers in +

                                      pthreads-win32 does not prefer either writers or readers in acquiring the lock – all threads enter a single prioritised FIFO queue. While this may not be optimally efficient for some applications, it does ensure that one type does not starve the other.

                                      Results are undefined if any of these functions are called with an uninitialized read-write lock.

                                      -

                                      pthreads-w32 defines _POSIX_READER_WRITER_LOCKS in +

                                      pthreads-win32 defines _POSIX_READER_WRITER_LOCKS in pthread.h as 200112L to indicate that the reader/writer routines are implemented and may be used.

                                      Return Value

                                      @@ -101,7 +101,7 @@

                                      Copyright

                                      can be obtained online at http://www.opengroup.org/unix/online.html .

                                      -

                                      Modified by Ross Johnson for use with pthreads-w32.

                                      +

                                      Modified by Ross Johnson for use with pthreads-win32.


                                      Table of Contents

                                        diff --git a/manual/pthread_rwlock_wrlock.html b/manual/pthread_rwlock_wrlock.html index 4a1d65e0..998018f5 100644 --- a/manual/pthread_rwlock_wrlock.html +++ b/manual/pthread_rwlock_wrlock.html @@ -5,7 +5,7 @@ PTHREAD_RWLOCK_WRLOCK(3) manual page -

                                        POSIX Threads for Windows – REFERENCE - pthreads-w32

                                        +

                                        POSIX Threads for Windows – REFERENCE - pthreads-win32

                                        Reference Index

                                        Table of Contents

                                        Name

                                        @@ -33,14 +33,14 @@

                                        Description

                                        if at the time the call is made it holds the read-write lock (whether a read or write lock).

                                        -

                                        pthreads-w32 does not prefer either writers or readers in +

                                        pthreads-win32 does not prefer either writers or readers in acquiring the lock – all threads enter a single prioritised FIFO queue. While this may not be optimally efficient for some applications, it does ensure that one type does not starve the other.

                                        Results are undefined if any of these functions are called with an uninitialized read-write lock.

                                        -

                                        pthreads-w32 defines _POSIX_READER_WRITER_LOCKS in +

                                        pthreads-win32 defines _POSIX_READER_WRITER_LOCKS in pthread.h as 200112L to indicate that the reader/writer routines are implemented and may be used.

                                        Return Value

                                        @@ -113,7 +113,7 @@

                                        Copyright

                                        can be obtained online at http://www.opengroup.org/unix/online.html .

                                        -

                                        Modified by Ross Johnson for use with pthreads-w32.

                                        +

                                        Modified by Ross Johnson for use with pthreads-win32.


                                        Table of Contents

                                          diff --git a/manual/pthread_rwlockattr_init.html b/manual/pthread_rwlockattr_init.html index 0dcf31b7..70efa743 100644 --- a/manual/pthread_rwlockattr_init.html +++ b/manual/pthread_rwlockattr_init.html @@ -5,7 +5,7 @@ PTHREAD_RWLOCKATTR_INIT(3) manual page -

                                          POSIX Threads for Windows – REFERENCE - pthreads-w32

                                          +

                                          POSIX Threads for Windows – REFERENCE - pthreads-win32

                                          Reference Index

                                          Table of Contents

                                          Name

                                          @@ -40,7 +40,7 @@

                                          Description

                                          attributes object (including destruction) shall not affect any previously initialized read-write locks.

                                          -

                                          pthreads-w32 defines _POSIX_READER_WRITER_LOCKS in +

                                          pthreads-win32 defines _POSIX_READER_WRITER_LOCKS in pthread.h as 200112L to indicate that the reader/writer routines are implemented and may be used.

                                          Return Value

                                          @@ -101,7 +101,7 @@

                                          Copyright

                                          can be obtained online at http://www.opengroup.org/unix/online.html .

                                          -

                                          Modified by Ross Johnson for use with pthreads-w32.

                                          +

                                          Modified by Ross Johnson for use with pthreads-win32.


                                          Table of Contents

                                            diff --git a/manual/pthread_rwlockattr_setpshared.html b/manual/pthread_rwlockattr_setpshared.html index 1d82eddf..a2936ea0 100644 --- a/manual/pthread_rwlockattr_setpshared.html +++ b/manual/pthread_rwlockattr_setpshared.html @@ -5,7 +5,7 @@ PTHREAD_RWLOCKATTR_SETPSHARED(3) manual page -

                                            POSIX Threads for Windows – REFERENCE - pthreads-w32

                                            +

                                            POSIX Threads for Windows – REFERENCE - pthreads-win32

                                            Reference Index

                                            Table of Contents

                                            Name

                                            @@ -41,14 +41,14 @@

                                            Description

                                            read-write lock, the behavior is undefined. The default value of the process-shared attribute shall be PTHREAD_PROCESS_PRIVATE.

                                            -

                                            pthreads-w32 defines _POSIX_THREAD_PROCESS_SHARED in +

                                            pthreads-win32 defines _POSIX_THREAD_PROCESS_SHARED in pthread.h as -1 to indicate that these routines are implemented but they do not support the process shared option.

                                            Additional attributes, their default values, and the names of the associated functions to get and set those attribute values are implementation-defined.

                                            -

                                            pthreads-w32 defines _POSIX_READER_WRITER_LOCKS in +

                                            pthreads-win32 defines _POSIX_READER_WRITER_LOCKS in pthread.h as 200112L to indicate that the reader/writer routines are implemented and may be used.

                                            Return Value

                                            @@ -120,7 +120,7 @@

                                            Copyright

                                            can be obtained online at http://www.opengroup.org/unix/online.html .

                                            -

                                            Modified by Ross Johnson for use with pthreads-w32.

                                            +

                                            Modified by Ross Johnson for use with pthreads-win32.


                                            Table of Contents

                                              diff --git a/manual/pthread_self.html b/manual/pthread_self.html index ec70063a..c94f7846 100644 --- a/manual/pthread_self.html +++ b/manual/pthread_self.html @@ -5,7 +5,7 @@ PTHREAD_SELF(3) manual page -

                                              POSIX Threads for Windows – REFERENCE - pthreads-w32

                                              +

                                              POSIX Threads for Windows – REFERENCE - pthreads-win32

                                              Reference Index

                                              Table of Contents

                                              Name

                                              @@ -20,7 +20,7 @@

                                              Description

                                              pthread_self return the thread identifier for the calling thread.

                                              -

                                              pthreads-w32 also provides support for Win32 native +

                                              pthreads-win32 also provides support for Win32 native threads to interact with POSIX threads through the pthreads API. Whereas all threads created via a call to pthread_create have a POSIX thread ID and thread state, the library ensures that any Win32 native @@ -33,12 +33,12 @@

                                              Description

                                              Any Win32 native thread may call pthread_self directly to return it's POSIX thread identifier. The ID and state will be generated if it does not already exist. Win32 native threads do not -need to call pthread_self before calling pthreads-w32 routines +need to call pthread_self before calling pthreads-win32 routines unless that routine requires a pthread_t parameter.

                                              Author

                                              Xavier Leroy <Xavier.Leroy@inria.fr>

                                              -

                                              Modified by Ross Johnson for use with pthreads-w32.

                                              +

                                              Modified by Ross Johnson for use with pthreads-win32.

                                              See Also

                                              pthread_equal(3) , pthread_join(3) , diff --git a/manual/pthread_setaffinity_np.html b/manual/pthread_setaffinity_np.html index 53106af5..d67d0d05 100644 --- a/manual/pthread_setaffinity_np.html +++ b/manual/pthread_setaffinity_np.html @@ -13,7 +13,7 @@

                                              POSIX -Threads for Windows – REFERENCE - pthreads-w32

                                              +Threads for Windows – REFERENCE - pthreads-win32

                                              Reference Index

                                              Table of Contents

                                              Name

                                              @@ -44,7 +44,7 @@

                                              Description

                                              whose ID is tid into the cpu_set_t structure pointed to by mask. The cpusetsize argument specifies the size (in bytes) of mask. -

                                              pthreads-w32 currently ignores the cpusetsize +

                                              pthreads-win32 currently ignores the cpusetsize parameter for either function because cpu_set_t is a direct typeset to the Windows affinity vector type DWORD_PTR.

                                              Return Value

                                              @@ -107,7 +107,7 @@

                                              See Also

                                              sched_getaffinity(3)

                                              Copyright

                                              Most of this is taken from the Linux manual page.

                                              -

                                              Modified by Ross Johnson for use with pthreads-w32.

                                              +

                                              Modified by Ross Johnson for use with pthreads-win32.


                                              Table of Contents

                                                diff --git a/manual/pthread_setcancelstate.html b/manual/pthread_setcancelstate.html index 26956cbd..090cb870 100644 --- a/manual/pthread_setcancelstate.html +++ b/manual/pthread_setcancelstate.html @@ -5,7 +5,7 @@ PTHREAD_SETCANCELSTATE(3) manual page -

                                                POSIX Threads for Windows – REFERENCE - pthreads-w32

                                                +

                                                POSIX Threads for Windows – REFERENCE - pthreads-win32

                                                Reference Index

                                                Table of Contents

                                                Name

                                                @@ -64,14 +64,14 @@

                                                Description

                                                location pointed to by oldtype, and can thus be restored later by another call to pthread_setcanceltype.

                                                -

                                                pthreads-w32 provides two levels of support for +

                                                pthreads-win32 provides two levels of support for PTHREAD_CANCEL_ASYNCHRONOUS: full and partial. Full support requires an additional DLL and driver be installed on the Windows system (see the See Also section below) that allows blocked threads to be cancelled immediately. Partial support means that the target thread will not cancel until it resumes execution naturally. Partial support is provided if either the DLL or the driver are not -automatically detected by the pthreads-w32 library at run-time.

                                                +automatically detected by the pthreads-win32 library at run-time.

                                                Threads are always created by pthread_create(3) with cancellation enabled and deferred. That is, the initial cancellation state is PTHREAD_CANCEL_ENABLE and the initial @@ -88,8 +88,8 @@

                                                Description


                                                pthread_testcancel(3)
                                                sem_wait(3)
                                                sem_timedwait(3)
                                                sigwait(3) (not supported under -pthreads-w32)

                                                -

                                                pthreads-w32 provides two functions to enable additional +pthreads-win32)

                                                +

                                                pthreads-win32 provides two functions to enable additional cancellation points to be created in user functions that block on Win32 HANDLEs:

                                                pthreadCancelableWait() @@ -149,12 +149,12 @@

                                                Errors

                                                Author

                                                Xavier Leroy <Xavier.Leroy@inria.fr>

                                                -

                                                Modified by Ross Johnson for use with pthreads-w32.

                                                +

                                                Modified by Ross Johnson for use with pthreads-win32.

                                                See Also

                                                pthread_exit(3) , pthread_cleanup_push(3) , pthread_cleanup_pop(3) -, pthreads-w32 package README file 'Prerequisites' section. +, pthreads-win32 package README file 'Prerequisites' section.

                                                Bugs

                                                POSIX specifies that a number of system calls (basically, all @@ -162,7 +162,7 @@

                                                Bugs

                                                , write(2) , wait(2) , etc.) and library functions that may call these system calls (e.g. fprintf(3) ) are cancellation -points. pthreads-w32 is not integrated enough with the C +points. pthreads-win32 is not integrated enough with the C library to implement this, and thus none of the C library functions is a cancellation point.

                                                diff --git a/manual/pthread_setcanceltype.html b/manual/pthread_setcanceltype.html index 26956cbd..090cb870 100644 --- a/manual/pthread_setcanceltype.html +++ b/manual/pthread_setcanceltype.html @@ -5,7 +5,7 @@ PTHREAD_SETCANCELSTATE(3) manual page -

                                                POSIX Threads for Windows – REFERENCE - pthreads-w32

                                                +

                                                POSIX Threads for Windows – REFERENCE - pthreads-win32

                                                Reference Index

                                                Table of Contents

                                                Name

                                                @@ -64,14 +64,14 @@

                                                Description

                                                location pointed to by oldtype, and can thus be restored later by another call to pthread_setcanceltype.

                                                -

                                                pthreads-w32 provides two levels of support for +

                                                pthreads-win32 provides two levels of support for PTHREAD_CANCEL_ASYNCHRONOUS: full and partial. Full support requires an additional DLL and driver be installed on the Windows system (see the See Also section below) that allows blocked threads to be cancelled immediately. Partial support means that the target thread will not cancel until it resumes execution naturally. Partial support is provided if either the DLL or the driver are not -automatically detected by the pthreads-w32 library at run-time.

                                                +automatically detected by the pthreads-win32 library at run-time.

                                                Threads are always created by pthread_create(3) with cancellation enabled and deferred. That is, the initial cancellation state is PTHREAD_CANCEL_ENABLE and the initial @@ -88,8 +88,8 @@

                                                Description


                                                pthread_testcancel(3)
                                                sem_wait(3)
                                                sem_timedwait(3)
                                                sigwait(3) (not supported under -pthreads-w32)

                                                -

                                                pthreads-w32 provides two functions to enable additional +pthreads-win32)

                                                +

                                                pthreads-win32 provides two functions to enable additional cancellation points to be created in user functions that block on Win32 HANDLEs:

                                                pthreadCancelableWait() @@ -149,12 +149,12 @@

                                                Errors

                                                Author

                                                Xavier Leroy <Xavier.Leroy@inria.fr>

                                                -

                                                Modified by Ross Johnson for use with pthreads-w32.

                                                +

                                                Modified by Ross Johnson for use with pthreads-win32.

                                                See Also

                                                pthread_exit(3) , pthread_cleanup_push(3) , pthread_cleanup_pop(3) -, pthreads-w32 package README file 'Prerequisites' section. +, pthreads-win32 package README file 'Prerequisites' section.

                                                Bugs

                                                POSIX specifies that a number of system calls (basically, all @@ -162,7 +162,7 @@

                                                Bugs

                                                , write(2) , wait(2) , etc.) and library functions that may call these system calls (e.g. fprintf(3) ) are cancellation -points. pthreads-w32 is not integrated enough with the C +points. pthreads-win32 is not integrated enough with the C library to implement this, and thus none of the C library functions is a cancellation point.

                                                diff --git a/manual/pthread_setconcurrency.html b/manual/pthread_setconcurrency.html index 2bf1d55c..2a77a484 100644 --- a/manual/pthread_setconcurrency.html +++ b/manual/pthread_setconcurrency.html @@ -5,7 +5,7 @@ PTHREAD_SETCONCURRENCY(3) manual page -

                                                POSIX Threads for Windows – REFERENCE - pthreads-w32

                                                +

                                                POSIX Threads for Windows – REFERENCE - pthreads-win32

                                                Reference Index

                                                Table of Contents

                                                Name

                                                @@ -53,7 +53,7 @@

                                                Description

                                                is called so that a subsequent call to pthread_getconcurrency shall return the same value.

                                                -

                                                pthreads-w32 provides these routines for source code +

                                                pthreads-win32 provides these routines for source code compatibility only, as described in the previous paragraph.

                                                Return Value

                                                If successful, the pthread_setconcurrency function shall @@ -115,7 +115,7 @@

                                                Copyright

                                                can be obtained online at http://www.opengroup.org/unix/online.html .

                                                -

                                                Modified by Ross Johnson for use with pthreads-w32.

                                                +

                                                Modified by Ross Johnson for use with pthreads-win32.


                                                Table of Contents

                                                  diff --git a/manual/pthread_setname_np.html b/manual/pthread_setname_np.html index 3e3cfa66..e3fce25d 100644 --- a/manual/pthread_setname_np.html +++ b/manual/pthread_setname_np.html @@ -23,7 +23,7 @@

                                                  POSIX -Threads for Windows – REFERENCE - pthreads-w32

                                                  +Threads for Windows – REFERENCE - pthreads-win32

                                                  Reference Index

                                                  Table of Contents

                                                  Name

                                                  diff --git a/manual/pthread_setschedparam.html b/manual/pthread_setschedparam.html index 4efcfc98..67424101 100644 --- a/manual/pthread_setschedparam.html +++ b/manual/pthread_setschedparam.html @@ -5,7 +5,7 @@ PTHREAD_SETSCHEDPARAM(3) manual page -

                                                  POSIX Threads for Windows – REFERENCE - pthreads-w32

                                                  +

                                                  POSIX Threads for Windows – REFERENCE - pthreads-win32

                                                  Reference Index

                                                  Table of Contents

                                                  Name

                                                  @@ -31,7 +31,7 @@

                                                  Description

                                                  round-robin) or SCHED_FIFO (real-time, first-in first-out). param specifies the scheduling priority for the two real-time policies.

                                                  -

                                                  pthreads-w32 only supports SCHED_OTHER and does not support +

                                                  pthreads-win32 only supports SCHED_OTHER and does not support the real-time scheduling policies SCHED_RR and SCHED_FIFO.

                                                  pthread_getschedparam retrieves the scheduling policy and @@ -76,7 +76,7 @@

                                                  Author

                                                  Xavier Leroy <Xavier.Leroy@inria.fr>

                                                  -

                                                  Modified by Ross Johnson for use with pthreads-w32.

                                                  +

                                                  Modified by Ross Johnson for use with pthreads-win32.

                                                  See Also

                                                  sched_setscheduler(2) , sched_getscheduler(2) diff --git a/manual/pthread_spin_init.html b/manual/pthread_spin_init.html index 3420a857..2a4cf5d0 100644 --- a/manual/pthread_spin_init.html +++ b/manual/pthread_spin_init.html @@ -5,7 +5,7 @@ PTHREAD_SPIN_INIT(3) manual page -

                                                  POSIX Threads for Windows – REFERENCE - pthreads-w32

                                                  +

                                                  POSIX Threads for Windows – REFERENCE - pthreads-win32

                                                  Reference Index

                                                  Table of Contents

                                                  Name

                                                  @@ -34,7 +34,7 @@

                                                  Description

                                                  required to use the spin lock referenced by lock and initialize the lock to an unlocked state.

                                                  -

                                                  pthreads-w32 supports single and multiple processor systems +

                                                  pthreads-win32 supports single and multiple processor systems as well as process CPU affinity masking by checking the mask when the spin lock is initialized. If the process is using only a single processor at the time pthread_spin_init is called then the @@ -44,7 +44,7 @@

                                                  Description

                                                  mask is altered after the spin lock has been initialised, the spin lock is not modified, and may no longer be optimal for the number of CPUs available.

                                                  -

                                                  pthreads-w32 defines _POSIX_THREAD_PROCESS_SHARED in +

                                                  pthreads-win32 defines _POSIX_THREAD_PROCESS_SHARED in pthread.h as -1 to indicate that these routines do not support the PTHREAD_PROCESS_SHARED attribute. pthread_spin_init will return the error ENOTSUP if the value of pshared @@ -65,7 +65,7 @@

                                                  Description

                                                  or pthread_spin_unlock(3) is undefined.

                                                  -

                                                  pthreads-w32 supports statically initialized spin locks +

                                                  pthreads-win32 supports statically initialized spin locks using PTHREAD_SPINLOCK_INITIALIZER. An application should still call pthread_spin_destroy at some point to ensure that any resources consumed by the spin lock are released.

                                                  @@ -136,7 +136,7 @@

                                                  Copyright

                                                  can be obtained online at http://www.opengroup.org/unix/online.html .

                                                  -

                                                  Modified by Ross Johnson for use with pthreads-w32.

                                                  +

                                                  Modified by Ross Johnson for use with pthreads-win32.


                                                  Table of Contents

                                                    diff --git a/manual/pthread_spin_lock.html b/manual/pthread_spin_lock.html index ccd1f60e..c05ce7d4 100644 --- a/manual/pthread_spin_lock.html +++ b/manual/pthread_spin_lock.html @@ -5,7 +5,7 @@ PTHREAD_SPIN_LOCK(3) manual page -

                                                    POSIX Threads for Windows – REFERENCE - pthreads-w32

                                                    +

                                                    POSIX Threads for Windows – REFERENCE - pthreads-win32

                                                    Reference Index

                                                    Table of Contents

                                                    Name

                                                    @@ -26,7 +26,7 @@

                                                    Description

                                                    (that is, shall not return from the pthread_spin_lock call) until the lock becomes available. The results are undefined if the calling thread holds the lock at the time the call is made.

                                                    -

                                                    pthreads-w32 supports single and multiple processor systems +

                                                    pthreads-win32 supports single and multiple processor systems as well as process CPU affinity masking by checking the mask when the spin lock is initialized. If the process is using only a single processor at the time pthread_spin_init(3) @@ -101,7 +101,7 @@

                                                    Copyright

                                                    can be obtained online at http://www.opengroup.org/unix/online.html .

                                                    -

                                                    Modified by Ross Johnson for use with pthreads-w32.

                                                    +

                                                    Modified by Ross Johnson for use with pthreads-win32.


                                                    Table of Contents

                                                      diff --git a/manual/pthread_spin_unlock.html b/manual/pthread_spin_unlock.html index 735d6672..cb84b81d 100644 --- a/manual/pthread_spin_unlock.html +++ b/manual/pthread_spin_unlock.html @@ -5,7 +5,7 @@ PTHREAD_SPIN_UNLOCK(3) manual page -

                                                      POSIX Threads for Windows – REFERENCE - pthreads-w32

                                                      +

                                                      POSIX Threads for Windows – REFERENCE - pthreads-win32

                                                      Reference Index

                                                      Table of Contents

                                                      Name

                                                      @@ -27,7 +27,7 @@

                                                      Description

                                                      pthread_spin_unlock is called, the lock becomes available and an unspecified spinning thread shall acquire the lock.

                                                      -

                                                      pthreads-w32 does not check ownership of the lock and it is +

                                                      pthreads-win32 does not check ownership of the lock and it is therefore possible for a thread other than the locker to unlock the spin lock. This is not a feature that should be exploited.

                                                      The results are undefined if this function is called with an @@ -57,7 +57,7 @@

                                                      Examples

                                                      None.

                                                      Application Usage

                                                      -

                                                      pthreads-w32 does not check ownership of the lock and it is +

                                                      pthreads-win32 does not check ownership of the lock and it is therefore possible for a thread other than the locker to unlock the spin lock. This is not a feature that should be exploited.

                                                      Rationale

                                                      @@ -84,7 +84,7 @@

                                                      Copyright

                                                      can be obtained online at http://www.opengroup.org/unix/online.html .

                                                      -

                                                      Modified by Ross Johnson for use with pthreads-w32.

                                                      +

                                                      Modified by Ross Johnson for use with pthreads-win32.


                                                      Table of Contents

                                                        diff --git a/manual/pthread_timechange_handler_np.html b/manual/pthread_timechange_handler_np.html index 8562af0a..112ead8b 100644 --- a/manual/pthread_timechange_handler_np.html +++ b/manual/pthread_timechange_handler_np.html @@ -5,7 +5,7 @@ PTHREAD_TIMECHANGE_HANDLER_NP(3) manual page -

                                                        POSIX Threads for Windows – REFERENCE - pthreads-w32

                                                        +

                                                        POSIX Threads for Windows – REFERENCE - pthreads-win32

                                                        Reference Index

                                                        Table of Contents

                                                        Name

                                                        @@ -47,7 +47,7 @@

                                                        Errors

                                                        To indicate that not all condition variables were signalled for some reason.

                                                        Author

                                                        -

                                                        Ross Johnson for use with pthreads-w32.

                                                        +

                                                        Ross Johnson for use with pthreads-win32.


                                                        Table of Contents

                                                          diff --git a/manual/pthread_win32_attach_detach_np.html b/manual/pthread_win32_attach_detach_np.html index 9c8d803c..8aa9244f 100644 --- a/manual/pthread_win32_attach_detach_np.html +++ b/manual/pthread_win32_attach_detach_np.html @@ -5,14 +5,14 @@ PTHREAD_WIN32_ATTACH_DETACH_NP(3) manual page -

                                                          POSIX Threads for Windows – REFERENCE - pthreads-w32

                                                          +

                                                          POSIX Threads for Windows – REFERENCE - pthreads-win32

                                                          Reference Index

                                                          Table of Contents

                                                          Name

                                                          pthread_win32_process_attach_np, pthread_win32_process_detach_np, pthread_win32_thread_attach_np, pthread_win32_thread_detach_np – exposed versions of the -pthreads-w32 DLL dllMain() switch functionality for use when +pthreads-win32 DLL dllMain() switch functionality for use when statically linking the library.

                                                          Synopsis

                                                          #include <pthread.h> @@ -36,7 +36,7 @@

                                                          Description

                                                          thread exits.

                                                          These functions invariably return TRUE except for pthread_win32_process_attach_np which will return FALSE if -pthreads-w32 initialisation fails.

                                                          +pthreads-win32 initialisation fails.

                                                          Cancellation

                                                          None.

                                                          Return Value

                                                          @@ -45,7 +45,7 @@

                                                          Return ValueErrors

                                                          None.

                                                          Author

                                                          -

                                                          Ross Johnson for use with pthreads-w32.

                                                          +

                                                          Ross Johnson for use with pthreads-win32.


                                                          Table of Contents

                                                            diff --git a/manual/pthread_win32_getabstime_np.html b/manual/pthread_win32_getabstime_np.html index f5a68cda..498184a8 100644 --- a/manual/pthread_win32_getabstime_np.html +++ b/manual/pthread_win32_getabstime_np.html @@ -18,7 +18,7 @@

                                                            POSIX Threads for Windows – REFERENCE - -pthreads-w32

                                                            +pthreads-win32

                                                            Reference Index

                                                            Table of Contents

                                                            Name

                                                            @@ -47,7 +47,7 @@

                                                            Return

                                                            Errors

                                                            None.

                                                            Author

                                                            -

                                                            Ross Johnson for use with pthreads-w32.

                                                            +

                                                            Ross Johnson for use with pthreads-win32.


                                                            Table of Contents

                                                              diff --git a/manual/pthread_win32_test_features_np.html b/manual/pthread_win32_test_features_np.html index 473f5da1..3e38c7a2 100644 --- a/manual/pthread_win32_test_features_np.html +++ b/manual/pthread_win32_test_features_np.html @@ -5,7 +5,7 @@ PTHREAD_WIN32_TEST_FEATURES_NP(3) manual page -

                                                              POSIX Threads for Windows – REFERENCE - pthreads-w32

                                                              +

                                                              POSIX Threads for Windows – REFERENCE - pthreads-win32

                                                              Reference Index

                                                              Table of Contents

                                                              Name

                                                              @@ -39,7 +39,7 @@

                                                              Return ValueErrors

                                                              None.

                                                              Author

                                                              -

                                                              Ross Johnson for use with pthreads-w32.

                                                              +

                                                              Ross Johnson for use with pthreads-win32.


                                                              Table of Contents

                                                                diff --git a/manual/sched_get_priority_max.html b/manual/sched_get_priority_max.html index 2b604924..dc4675bb 100644 --- a/manual/sched_get_priority_max.html +++ b/manual/sched_get_priority_max.html @@ -5,7 +5,7 @@ SCHED_GET_PRIORITY_MAX(3) manual page -

                                                                POSIX Threads for Windows – REFERENCE - pthreads-w32

                                                                +

                                                                POSIX Threads for Windows – REFERENCE - pthreads-win32

                                                                Reference Index

                                                                Table of Contents

                                                                Name

                                                                @@ -75,7 +75,7 @@

                                                                Copyright

                                                                can be obtained online at http://www.opengroup.org/unix/online.html .

                                                                -

                                                                Modified by Ross Johnson for use with pthreads-w32.

                                                                +

                                                                Modified by Ross Johnson for use with pthreads-win32.


                                                                Table of Contents

                                                                  diff --git a/manual/sched_getscheduler.html b/manual/sched_getscheduler.html index b471d82f..1cda302d 100644 --- a/manual/sched_getscheduler.html +++ b/manual/sched_getscheduler.html @@ -5,7 +5,7 @@ SCHED_GETSCHEDULER(3) manual page -

                                                                  POSIX Threads for Windows – REFERENCE - pthreads-w32

                                                                  +

                                                                  POSIX Threads for Windows – REFERENCE - pthreads-win32

                                                                  Reference Index

                                                                  Table of Contents

                                                                  Name

                                                                  @@ -25,7 +25,7 @@

                                                                  Description

                                                                  The values that can be returned by sched_getscheduler are defined in the <sched.h> header.

                                                                  -

                                                                  pthreads-w32 only supports the SCHED_OTHER policy, +

                                                                  pthreads-win32 only supports the SCHED_OTHER policy, which is the only value that can be returned. However, checks on pid and permissions are performed first so that the other useful side effects of this routine are retained.

                                                                  @@ -87,7 +87,7 @@

                                                                  Copyright

                                                                  can be obtained online at http://www.opengroup.org/unix/online.html .

                                                                  -

                                                                  Modified by Ross Johnson for use with pthreads-w32.

                                                                  +

                                                                  Modified by Ross Johnson for use with pthreads-win32.


                                                                  Table of Contents

                                                                    diff --git a/manual/sched_setaffinity.html b/manual/sched_setaffinity.html index fa9198da..0b0c0c4a 100644 --- a/manual/sched_setaffinity.html +++ b/manual/sched_setaffinity.html @@ -13,7 +13,7 @@

                                                                    POSIX -Threads for Windows – REFERENCE - pthreads-w32

                                                                    +Threads for Windows – REFERENCE - pthreads-win32

                                                            Reference Index

                                                            Table of Contents

                                                            Name

                                                            @@ -46,7 +46,7 @@

                                                            Description

                                                            mask. The cpusetsize argument specifies the size (in bytes) of mask. If pid is zero, then the mask of the calling process is returned.

                                                            -

                                                            pthreads-w32 currently ignores the cpusetsize +

                                                            pthreads-win32 currently ignores the cpusetsize parameter for either function because cpu_set_t is a direct typeset to the Windows affinity vector type DWORD_PTR.

                                                            Windows may require that the requesting process have permission to @@ -112,7 +112,7 @@

                                                            See Also

                                                            pthread_getaffinity_np(3)

                                                            Copyright

                                                            Most of this is taken from the Linux manual page.

                                                            -

                                                            Modified by Ross Johnson for use with pthreads-w32.

                                                            +

                                                            Modified by Ross Johnson for use with pthreads-win32.


                                                            Table of Contents

                                                              diff --git a/manual/sched_setscheduler.html b/manual/sched_setscheduler.html index 672168ef..19b47ffe 100644 --- a/manual/sched_setscheduler.html +++ b/manual/sched_setscheduler.html @@ -5,7 +5,7 @@ SCHED_SETSCHEDULER(3) manual page -

                                                              POSIX Threads for Windows – REFERENCE - pthreads-w32

                                                              +

                                                              POSIX Threads for Windows – REFERENCE - pthreads-win32

                                                              Reference Index

                                                              Table of Contents

                                                              Name

                                                              @@ -32,7 +32,7 @@

                                                              Description

                                                              The possible values for the policy parameter are defined in the <sched.h> header.

                                                              -

                                                              pthreads-w32 only supports the SCHED_OTHER policy. +

                                                              pthreads-win32 only supports the SCHED_OTHER policy. Any other value for policy will return failure with errno set to ENOSYS. However, checks on pid and permissions are performed first so that the other useful side effects of this routine @@ -141,7 +141,7 @@

                                                              Copyright

                                                              can be obtained online at http://www.opengroup.org/unix/online.html .

                                                              -

                                                              Modified by Ross Johnson for use with pthreads-w32.

                                                              +

                                                              Modified by Ross Johnson for use with pthreads-win32.


                                                              Table of Contents

                                                                diff --git a/manual/sched_yield.html b/manual/sched_yield.html index 1b42eec4..579e4ddd 100644 --- a/manual/sched_yield.html +++ b/manual/sched_yield.html @@ -5,7 +5,7 @@ SCHED_YIELD(3) manual page -

                                                                POSIX Threads for Windows – REFERENCE - pthreads-w32

                                                                +

                                                                POSIX Threads for Windows – REFERENCE - pthreads-win32

                                                                Reference Index

                                                                Table of Contents

                                                                Name

                                                                diff --git a/manual/sem_init.html b/manual/sem_init.html index 186a8ff8..643ac2ad 100644 --- a/manual/sem_init.html +++ b/manual/sem_init.html @@ -5,7 +5,7 @@ SEM_INIT(3) manual page -

                                                                POSIX Threads for Windows – REFERENCE - pthreads-w32

                                                                +

                                                                POSIX Threads for Windows – REFERENCE - pthreads-win32

                                                                Reference Index

                                                                Table of Contents

                                                                Name

                                                                @@ -45,7 +45,7 @@

                                                                Description

                                                                semaphore is local to the current process ( pshared is zero) or is to be shared between several processes ( pshared is not zero).

                                                                -

                                                                pthreads-w32 currently does not support process-shared +

                                                                pthreads-win32 currently does not support process-shared semaphores, thus sem_init always returns with error EPERM if pshared is not zero.

                                                                @@ -74,7 +74,7 @@

                                                                Description

                                                                waiters are released and sem's count is incremented by number minus n.

                                                                sem_getvalue stores in the location pointed to by sval -the current count of the semaphore sem. In the pthreads-w32 +the current count of the semaphore sem. In the pthreads-win32 implementation: if the value returned in sval is greater than or equal to 0 it was the sem's count at some point during the call to sem_getvalue. If the value returned in sval is @@ -161,7 +161,7 @@

                                                                Author

                                                                Xavier Leroy <Xavier.Leroy@inria.fr>

                                                                -

                                                                Modified by Ross Johnson for use with pthreads-w32.

                                                                +

                                                                Modified by Ross Johnson for use with pthreads-win32.

                                                                See Also

                                                                pthread_mutex_init(3) , pthread_cond_init(3) , diff --git a/pthread.c b/pthread.c index 896ecd1d..e0994244 100644 --- a/pthread.c +++ b/pthread.c @@ -35,6 +35,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread.h b/pthread.h index 3b50beb5..ef991d5b 100644 --- a/pthread.h +++ b/pthread.h @@ -29,6 +29,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #if !defined( PTHREAD_H ) diff --git a/pthread_attr_destroy.c b/pthread_attr_destroy.c index 7bb0e320..496aab47 100644 --- a/pthread_attr_destroy.c +++ b/pthread_attr_destroy.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_getaffinity_np.c b/pthread_attr_getaffinity_np.c index cddbb69d..a66518b7 100644 --- a/pthread_attr_getaffinity_np.c +++ b/pthread_attr_getaffinity_np.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_getdetachstate.c b/pthread_attr_getdetachstate.c index 93d61335..9689718a 100644 --- a/pthread_attr_getdetachstate.c +++ b/pthread_attr_getdetachstate.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_getinheritsched.c b/pthread_attr_getinheritsched.c index 657624cc..ce8bad01 100644 --- a/pthread_attr_getinheritsched.c +++ b/pthread_attr_getinheritsched.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_getname_np.c b/pthread_attr_getname_np.c index 110c02a4..8245ec7a 100644 --- a/pthread_attr_getname_np.c +++ b/pthread_attr_getname_np.c @@ -30,6 +30,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_getschedparam.c b/pthread_attr_getschedparam.c index b7be1cba..95c7f4e5 100644 --- a/pthread_attr_getschedparam.c +++ b/pthread_attr_getschedparam.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_getschedpolicy.c b/pthread_attr_getschedpolicy.c index f27f5ee3..7a6dd5be 100644 --- a/pthread_attr_getschedpolicy.c +++ b/pthread_attr_getschedpolicy.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_getscope.c b/pthread_attr_getscope.c index c5c5f064..ce231f1e 100644 --- a/pthread_attr_getscope.c +++ b/pthread_attr_getscope.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_getstackaddr.c b/pthread_attr_getstackaddr.c index 238a4495..a30f8455 100644 --- a/pthread_attr_getstackaddr.c +++ b/pthread_attr_getstackaddr.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_getstacksize.c b/pthread_attr_getstacksize.c index 18ed57ef..7ac4963c 100644 --- a/pthread_attr_getstacksize.c +++ b/pthread_attr_getstacksize.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_init.c b/pthread_attr_init.c index dbb7ffc1..1aaa9e24 100644 --- a/pthread_attr_init.c +++ b/pthread_attr_init.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_setaffinity_np.c b/pthread_attr_setaffinity_np.c index e2b939ef..47a253d3 100644 --- a/pthread_attr_setaffinity_np.c +++ b/pthread_attr_setaffinity_np.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_setdetachstate.c b/pthread_attr_setdetachstate.c index 02dd88bf..ddddf8d9 100644 --- a/pthread_attr_setdetachstate.c +++ b/pthread_attr_setdetachstate.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_setinheritsched.c b/pthread_attr_setinheritsched.c index d551190c..a3777ab2 100644 --- a/pthread_attr_setinheritsched.c +++ b/pthread_attr_setinheritsched.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_setname_np.c b/pthread_attr_setname_np.c index f20fefde..c05d7b70 100644 --- a/pthread_attr_setname_np.c +++ b/pthread_attr_setname_np.c @@ -30,6 +30,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_setschedparam.c b/pthread_attr_setschedparam.c index 3505c9a5..7f5a7700 100644 --- a/pthread_attr_setschedparam.c +++ b/pthread_attr_setschedparam.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_setschedpolicy.c b/pthread_attr_setschedpolicy.c index 5fe0c0c7..b38e3b8f 100644 --- a/pthread_attr_setschedpolicy.c +++ b/pthread_attr_setschedpolicy.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_setscope.c b/pthread_attr_setscope.c index 96bc4941..7d282584 100644 --- a/pthread_attr_setscope.c +++ b/pthread_attr_setscope.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_setstackaddr.c b/pthread_attr_setstackaddr.c index 834382c7..48e0c28a 100644 --- a/pthread_attr_setstackaddr.c +++ b/pthread_attr_setstackaddr.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_attr_setstacksize.c b/pthread_attr_setstacksize.c index 527d9a65..e11b790d 100644 --- a/pthread_attr_setstacksize.c +++ b/pthread_attr_setstacksize.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_barrier_destroy.c b/pthread_barrier_destroy.c index 61cd0cda..eb90c141 100644 --- a/pthread_barrier_destroy.c +++ b/pthread_barrier_destroy.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_barrier_init.c b/pthread_barrier_init.c index bc76fcd7..782dc366 100644 --- a/pthread_barrier_init.c +++ b/pthread_barrier_init.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_barrier_wait.c b/pthread_barrier_wait.c index 9d573afe..5259b5ad 100644 --- a/pthread_barrier_wait.c +++ b/pthread_barrier_wait.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_barrierattr_destroy.c b/pthread_barrierattr_destroy.c index d8953a9b..349f58de 100644 --- a/pthread_barrierattr_destroy.c +++ b/pthread_barrierattr_destroy.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_barrierattr_getpshared.c b/pthread_barrierattr_getpshared.c index 7d9736c0..5593649b 100644 --- a/pthread_barrierattr_getpshared.c +++ b/pthread_barrierattr_getpshared.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_barrierattr_init.c b/pthread_barrierattr_init.c index aef72b4f..2de93e36 100644 --- a/pthread_barrierattr_init.c +++ b/pthread_barrierattr_init.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_barrierattr_setpshared.c b/pthread_barrierattr_setpshared.c index 7f5dc549..b22b89fb 100644 --- a/pthread_barrierattr_setpshared.c +++ b/pthread_barrierattr_setpshared.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_cancel.c b/pthread_cancel.c index 422ca037..e435f00d 100644 --- a/pthread_cancel.c +++ b/pthread_cancel.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_cond_destroy.c b/pthread_cond_destroy.c index 12e76330..70abd48c 100644 --- a/pthread_cond_destroy.c +++ b/pthread_cond_destroy.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_cond_init.c b/pthread_cond_init.c index b9379a37..2a5a7a50 100644 --- a/pthread_cond_init.c +++ b/pthread_cond_init.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_condattr_destroy.c b/pthread_condattr_destroy.c index 696065ef..fac08dbb 100644 --- a/pthread_condattr_destroy.c +++ b/pthread_condattr_destroy.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_condattr_getpshared.c b/pthread_condattr_getpshared.c index dc161a9d..5b9d23d4 100644 --- a/pthread_condattr_getpshared.c +++ b/pthread_condattr_getpshared.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_condattr_init.c b/pthread_condattr_init.c index aa32cc6d..f369bd44 100644 --- a/pthread_condattr_init.c +++ b/pthread_condattr_init.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_condattr_setpshared.c b/pthread_condattr_setpshared.c index 977b5a5c..2b6cde59 100644 --- a/pthread_condattr_setpshared.c +++ b/pthread_condattr_setpshared.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_delay_np.c b/pthread_delay_np.c index 76a54b65..87dda299 100644 --- a/pthread_delay_np.c +++ b/pthread_delay_np.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_detach.c b/pthread_detach.c index 7aa4fe35..e93f5054 100644 --- a/pthread_detach.c +++ b/pthread_detach.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_equal.c b/pthread_equal.c index 48da7e20..3c9e0c0a 100644 --- a/pthread_equal.c +++ b/pthread_equal.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_exit.c b/pthread_exit.c index 9eb107bf..1c3387dc 100644 --- a/pthread_exit.c +++ b/pthread_exit.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_getconcurrency.c b/pthread_getconcurrency.c index de46fe7c..c91d4adb 100644 --- a/pthread_getconcurrency.c +++ b/pthread_getconcurrency.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_getname_np.c b/pthread_getname_np.c index 35bb1bd2..f7a40679 100644 --- a/pthread_getname_np.c +++ b/pthread_getname_np.c @@ -30,6 +30,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_getschedparam.c b/pthread_getschedparam.c index 9e61d649..01b39b25 100644 --- a/pthread_getschedparam.c +++ b/pthread_getschedparam.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_getspecific.c b/pthread_getspecific.c index 77caa6b1..89fc357c 100644 --- a/pthread_getspecific.c +++ b/pthread_getspecific.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_getunique_np.c b/pthread_getunique_np.c index 55031f04..d46beabb 100755 --- a/pthread_getunique_np.c +++ b/pthread_getunique_np.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_getw32threadhandle_np.c b/pthread_getw32threadhandle_np.c index b6ab544d..24ef41e3 100644 --- a/pthread_getw32threadhandle_np.c +++ b/pthread_getw32threadhandle_np.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_join.c b/pthread_join.c index 96372551..674e7396 100644 --- a/pthread_join.c +++ b/pthread_join.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_key_create.c b/pthread_key_create.c index 91892e5d..0737320b 100644 --- a/pthread_key_create.c +++ b/pthread_key_create.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_key_delete.c b/pthread_key_delete.c index 7f2998ec..7da76608 100644 --- a/pthread_key_delete.c +++ b/pthread_key_delete.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_kill.c b/pthread_kill.c index 8ddfcd63..d07fb324 100644 --- a/pthread_kill.c +++ b/pthread_kill.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_mutex_consistent.c b/pthread_mutex_consistent.c index 053a5a6c..156f6634 100755 --- a/pthread_mutex_consistent.c +++ b/pthread_mutex_consistent.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_mutex_destroy.c b/pthread_mutex_destroy.c index 545d0839..7f9fb5b9 100644 --- a/pthread_mutex_destroy.c +++ b/pthread_mutex_destroy.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_mutex_init.c b/pthread_mutex_init.c index 279d4f86..fa237aa6 100644 --- a/pthread_mutex_init.c +++ b/pthread_mutex_init.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_mutex_lock.c b/pthread_mutex_lock.c index cc19234a..b033b437 100644 --- a/pthread_mutex_lock.c +++ b/pthread_mutex_lock.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_mutex_timedlock.c b/pthread_mutex_timedlock.c index 851c60aa..03ebda95 100644 --- a/pthread_mutex_timedlock.c +++ b/pthread_mutex_timedlock.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_mutex_trylock.c b/pthread_mutex_trylock.c index 1f03419c..58040d29 100644 --- a/pthread_mutex_trylock.c +++ b/pthread_mutex_trylock.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_mutex_unlock.c b/pthread_mutex_unlock.c index 080f7f80..32810e39 100644 --- a/pthread_mutex_unlock.c +++ b/pthread_mutex_unlock.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_mutexattr_destroy.c b/pthread_mutexattr_destroy.c index ae8428cc..0e301dea 100644 --- a/pthread_mutexattr_destroy.c +++ b/pthread_mutexattr_destroy.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_mutexattr_getkind_np.c b/pthread_mutexattr_getkind_np.c index 13903b87..f1b2fd89 100644 --- a/pthread_mutexattr_getkind_np.c +++ b/pthread_mutexattr_getkind_np.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_mutexattr_getpshared.c b/pthread_mutexattr_getpshared.c index b285d2d2..78bfe118 100644 --- a/pthread_mutexattr_getpshared.c +++ b/pthread_mutexattr_getpshared.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_mutexattr_getrobust.c b/pthread_mutexattr_getrobust.c index 28c28657..5810dade 100755 --- a/pthread_mutexattr_getrobust.c +++ b/pthread_mutexattr_getrobust.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_mutexattr_gettype.c b/pthread_mutexattr_gettype.c index a6e4cdb8..5a886328 100644 --- a/pthread_mutexattr_gettype.c +++ b/pthread_mutexattr_gettype.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_mutexattr_init.c b/pthread_mutexattr_init.c index 037b88b3..a8ed9972 100644 --- a/pthread_mutexattr_init.c +++ b/pthread_mutexattr_init.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_mutexattr_setkind_np.c b/pthread_mutexattr_setkind_np.c index 3d55d821..4fd79b43 100644 --- a/pthread_mutexattr_setkind_np.c +++ b/pthread_mutexattr_setkind_np.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_mutexattr_setpshared.c b/pthread_mutexattr_setpshared.c index 997f469a..a2623e52 100644 --- a/pthread_mutexattr_setpshared.c +++ b/pthread_mutexattr_setpshared.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_mutexattr_setrobust.c b/pthread_mutexattr_setrobust.c index 4f18b489..16c8659c 100755 --- a/pthread_mutexattr_setrobust.c +++ b/pthread_mutexattr_setrobust.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_mutexattr_settype.c b/pthread_mutexattr_settype.c index bb650eb4..6b8436bd 100644 --- a/pthread_mutexattr_settype.c +++ b/pthread_mutexattr_settype.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_num_processors_np.c b/pthread_num_processors_np.c index f94b074d..856bb905 100644 --- a/pthread_num_processors_np.c +++ b/pthread_num_processors_np.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_once.c b/pthread_once.c index 84ce0269..ac518247 100644 --- a/pthread_once.c +++ b/pthread_once.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_rwlock_destroy.c b/pthread_rwlock_destroy.c index edb6338b..d83f6fc5 100644 --- a/pthread_rwlock_destroy.c +++ b/pthread_rwlock_destroy.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_rwlock_init.c b/pthread_rwlock_init.c index 90a66946..7ca93f6a 100644 --- a/pthread_rwlock_init.c +++ b/pthread_rwlock_init.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_rwlock_rdlock.c b/pthread_rwlock_rdlock.c index 4d0d393c..b4388a52 100644 --- a/pthread_rwlock_rdlock.c +++ b/pthread_rwlock_rdlock.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_rwlock_timedrdlock.c b/pthread_rwlock_timedrdlock.c index ed281f3d..856be6ee 100644 --- a/pthread_rwlock_timedrdlock.c +++ b/pthread_rwlock_timedrdlock.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_rwlock_timedwrlock.c b/pthread_rwlock_timedwrlock.c index 7622d97f..2b245cb3 100644 --- a/pthread_rwlock_timedwrlock.c +++ b/pthread_rwlock_timedwrlock.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_rwlock_tryrdlock.c b/pthread_rwlock_tryrdlock.c index 5660b5ad..103b5f57 100644 --- a/pthread_rwlock_tryrdlock.c +++ b/pthread_rwlock_tryrdlock.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_rwlock_trywrlock.c b/pthread_rwlock_trywrlock.c index f12df055..c9702781 100644 --- a/pthread_rwlock_trywrlock.c +++ b/pthread_rwlock_trywrlock.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_rwlock_unlock.c b/pthread_rwlock_unlock.c index 63feac3e..6b509052 100644 --- a/pthread_rwlock_unlock.c +++ b/pthread_rwlock_unlock.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_rwlock_wrlock.c b/pthread_rwlock_wrlock.c index 722a673f..21402d87 100644 --- a/pthread_rwlock_wrlock.c +++ b/pthread_rwlock_wrlock.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_rwlockattr_destroy.c b/pthread_rwlockattr_destroy.c index e9e3407b..bd98331e 100644 --- a/pthread_rwlockattr_destroy.c +++ b/pthread_rwlockattr_destroy.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_rwlockattr_getpshared.c b/pthread_rwlockattr_getpshared.c index 4de7d30e..dc8a41bd 100644 --- a/pthread_rwlockattr_getpshared.c +++ b/pthread_rwlockattr_getpshared.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_rwlockattr_init.c b/pthread_rwlockattr_init.c index 994b7ec0..e6a5a1e7 100644 --- a/pthread_rwlockattr_init.c +++ b/pthread_rwlockattr_init.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_rwlockattr_setpshared.c b/pthread_rwlockattr_setpshared.c index 0263c11f..0094675c 100644 --- a/pthread_rwlockattr_setpshared.c +++ b/pthread_rwlockattr_setpshared.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_self.c b/pthread_self.c index 585ea810..51b6dbf6 100644 --- a/pthread_self.c +++ b/pthread_self.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_setaffinity.c b/pthread_setaffinity.c index b72f490e..abc9c034 100644 --- a/pthread_setaffinity.c +++ b/pthread_setaffinity.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_setcancelstate.c b/pthread_setcancelstate.c index 15268257..1bf7d212 100644 --- a/pthread_setcancelstate.c +++ b/pthread_setcancelstate.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_setcanceltype.c b/pthread_setcanceltype.c index 41ecfe0d..2eb8a1e1 100644 --- a/pthread_setcanceltype.c +++ b/pthread_setcanceltype.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_setconcurrency.c b/pthread_setconcurrency.c index 1861f96e..8b669a13 100644 --- a/pthread_setconcurrency.c +++ b/pthread_setconcurrency.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_setname_np.c b/pthread_setname_np.c index 98003e97..d9c4f3aa 100644 --- a/pthread_setname_np.c +++ b/pthread_setname_np.c @@ -30,6 +30,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_setschedparam.c b/pthread_setschedparam.c index 2222a491..fc9deca2 100644 --- a/pthread_setschedparam.c +++ b/pthread_setschedparam.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_setspecific.c b/pthread_setspecific.c index 044308b8..be6a813b 100644 --- a/pthread_setspecific.c +++ b/pthread_setspecific.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_spin_destroy.c b/pthread_spin_destroy.c index 8309a090..a4d48115 100644 --- a/pthread_spin_destroy.c +++ b/pthread_spin_destroy.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_spin_init.c b/pthread_spin_init.c index ae3406f6..51b533b5 100644 --- a/pthread_spin_init.c +++ b/pthread_spin_init.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_spin_lock.c b/pthread_spin_lock.c index 300ce97c..c8a70d0b 100644 --- a/pthread_spin_lock.c +++ b/pthread_spin_lock.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_spin_trylock.c b/pthread_spin_trylock.c index 51fc879e..ee16ef7d 100644 --- a/pthread_spin_trylock.c +++ b/pthread_spin_trylock.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_spin_unlock.c b/pthread_spin_unlock.c index 762584ce..4be1e051 100644 --- a/pthread_spin_unlock.c +++ b/pthread_spin_unlock.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_testcancel.c b/pthread_testcancel.c index f6958563..6d1a12f5 100644 --- a/pthread_testcancel.c +++ b/pthread_testcancel.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_timechange_handler_np.c b/pthread_timechange_handler_np.c index 98934e3c..c959ea7e 100644 --- a/pthread_timechange_handler_np.c +++ b/pthread_timechange_handler_np.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_timedjoin_np.c b/pthread_timedjoin_np.c index 229662b2..3cf12442 100644 --- a/pthread_timedjoin_np.c +++ b/pthread_timedjoin_np.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_tryjoin_np.c b/pthread_tryjoin_np.c index 102d05bf..7e131cc3 100644 --- a/pthread_tryjoin_np.c +++ b/pthread_tryjoin_np.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/pthread_win32_attach_detach_np.c b/pthread_win32_attach_detach_np.c index 9d00d304..4a85e5fb 100644 --- a/pthread_win32_attach_detach_np.c +++ b/pthread_win32_attach_detach_np.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_MCS_lock.c b/ptw32_MCS_lock.c index 25701048..3e574f57 100644 --- a/ptw32_MCS_lock.c +++ b/ptw32_MCS_lock.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ /* diff --git a/ptw32_callUserDestroyRoutines.c b/ptw32_callUserDestroyRoutines.c index bf82a60e..75506983 100644 --- a/ptw32_callUserDestroyRoutines.c +++ b/ptw32_callUserDestroyRoutines.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_calloc.c b/ptw32_calloc.c index b01c335e..8999efb6 100644 --- a/ptw32_calloc.c +++ b/ptw32_calloc.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_cond_check_need_init.c b/ptw32_cond_check_need_init.c index 251678cc..302602b2 100644 --- a/ptw32_cond_check_need_init.c +++ b/ptw32_cond_check_need_init.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_getprocessors.c b/ptw32_getprocessors.c index 4ac3cce9..f61f7f50 100644 --- a/ptw32_getprocessors.c +++ b/ptw32_getprocessors.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_is_attr.c b/ptw32_is_attr.c index 80917cfb..31aeeec5 100644 --- a/ptw32_is_attr.c +++ b/ptw32_is_attr.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_mutex_check_need_init.c b/ptw32_mutex_check_need_init.c index 846a4b7c..d87aaea3 100644 --- a/ptw32_mutex_check_need_init.c +++ b/ptw32_mutex_check_need_init.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_new.c b/ptw32_new.c index 3f89b351..36673873 100644 --- a/ptw32_new.c +++ b/ptw32_new.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_processInitialize.c b/ptw32_processInitialize.c index f0c91221..061d7d99 100644 --- a/ptw32_processInitialize.c +++ b/ptw32_processInitialize.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_processTerminate.c b/ptw32_processTerminate.c index 035bac6d..53d6a5c8 100644 --- a/ptw32_processTerminate.c +++ b/ptw32_processTerminate.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_relmillisecs.c b/ptw32_relmillisecs.c index 221019c6..07ec10e9 100644 --- a/ptw32_relmillisecs.c +++ b/ptw32_relmillisecs.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_reuse.c b/ptw32_reuse.c index 6495636d..61c544bb 100644 --- a/ptw32_reuse.c +++ b/ptw32_reuse.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_rwlock_cancelwrwait.c b/ptw32_rwlock_cancelwrwait.c index 9d5630c3..d85e1186 100644 --- a/ptw32_rwlock_cancelwrwait.c +++ b/ptw32_rwlock_cancelwrwait.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_rwlock_check_need_init.c b/ptw32_rwlock_check_need_init.c index 8e24da88..e7b9c00e 100644 --- a/ptw32_rwlock_check_need_init.c +++ b/ptw32_rwlock_check_need_init.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_semwait.c b/ptw32_semwait.c index 607050eb..9018c76c 100644 --- a/ptw32_semwait.c +++ b/ptw32_semwait.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_spinlock_check_need_init.c b/ptw32_spinlock_check_need_init.c index 1cd0ff3f..11265a84 100644 --- a/ptw32_spinlock_check_need_init.c +++ b/ptw32_spinlock_check_need_init.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_threadDestroy.c b/ptw32_threadDestroy.c index 13c91807..70815e48 100644 --- a/ptw32_threadDestroy.c +++ b/ptw32_threadDestroy.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_threadStart.c b/ptw32_threadStart.c index 617e7816..a1227d37 100644 --- a/ptw32_threadStart.c +++ b/ptw32_threadStart.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_throw.c b/ptw32_throw.c index f34cfadb..2de4143d 100644 --- a/ptw32_throw.c +++ b/ptw32_throw.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_timespec.c b/ptw32_timespec.c index 3de71e09..2263cf9c 100644 --- a/ptw32_timespec.c +++ b/ptw32_timespec.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_tkAssocCreate.c b/ptw32_tkAssocCreate.c index 85569be3..2dadb778 100644 --- a/ptw32_tkAssocCreate.c +++ b/ptw32_tkAssocCreate.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/ptw32_tkAssocDestroy.c b/ptw32_tkAssocDestroy.c index 87f78abe..bd0d58cc 100644 --- a/ptw32_tkAssocDestroy.c +++ b/ptw32_tkAssocDestroy.c @@ -34,6 +34,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/sched.h b/sched.h index 6c0c104f..e7705d14 100644 --- a/sched.h +++ b/sched.h @@ -36,6 +36,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #if !defined(_SCHED_H) #define _SCHED_H diff --git a/sched_get_priority_max.c b/sched_get_priority_max.c index e05867b7..908d22bb 100644 --- a/sched_get_priority_max.c +++ b/sched_get_priority_max.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/sched_get_priority_min.c b/sched_get_priority_min.c index 2c8a6560..ff2eda1d 100644 --- a/sched_get_priority_min.c +++ b/sched_get_priority_min.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/sched_getscheduler.c b/sched_getscheduler.c index b9bf93f6..4aa495b6 100644 --- a/sched_getscheduler.c +++ b/sched_getscheduler.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/sched_setaffinity.c b/sched_setaffinity.c index 01258fda..13a0c82a 100644 --- a/sched_setaffinity.c +++ b/sched_setaffinity.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/sched_setscheduler.c b/sched_setscheduler.c index 576213f7..d738a71d 100644 --- a/sched_setscheduler.c +++ b/sched_setscheduler.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/sched_yield.c b/sched_yield.c index 30de449b..a4f83bb0 100644 --- a/sched_yield.c +++ b/sched_yield.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/sem_close.c b/sem_close.c index 5e86ae82..f08c9794 100644 --- a/sem_close.c +++ b/sem_close.c @@ -40,6 +40,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/sem_destroy.c b/sem_destroy.c index aeb01e42..e2d0fa12 100644 --- a/sem_destroy.c +++ b/sem_destroy.c @@ -40,6 +40,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/sem_getvalue.c b/sem_getvalue.c index 144d85c6..9734a45c 100644 --- a/sem_getvalue.c +++ b/sem_getvalue.c @@ -40,6 +40,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/sem_init.c b/sem_init.c index 0108ed4e..f6fde560 100644 --- a/sem_init.c +++ b/sem_init.c @@ -38,6 +38,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/sem_open.c b/sem_open.c index 54c34eb1..27216eab 100644 --- a/sem_open.c +++ b/sem_open.c @@ -40,6 +40,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/sem_post.c b/sem_post.c index d89d26f6..fea4df5b 100644 --- a/sem_post.c +++ b/sem_post.c @@ -40,6 +40,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/sem_post_multiple.c b/sem_post_multiple.c index 00b12bb2..80ef485f 100644 --- a/sem_post_multiple.c +++ b/sem_post_multiple.c @@ -40,6 +40,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/sem_timedwait.c b/sem_timedwait.c index 4b09b74b..6f9e26df 100644 --- a/sem_timedwait.c +++ b/sem_timedwait.c @@ -40,6 +40,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/sem_trywait.c b/sem_trywait.c index 15fb1f03..4e47406b 100644 --- a/sem_trywait.c +++ b/sem_trywait.c @@ -40,6 +40,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/sem_unlink.c b/sem_unlink.c index 26bc442c..c782a96b 100644 --- a/sem_unlink.c +++ b/sem_unlink.c @@ -40,6 +40,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/sem_wait.c b/sem_wait.c index fb392981..ec577440 100644 --- a/sem_wait.c +++ b/sem_wait.c @@ -40,6 +40,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H diff --git a/semaphore.h b/semaphore.h index 85b9544b..56623cfa 100644 --- a/semaphore.h +++ b/semaphore.h @@ -36,6 +36,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #if !defined( SEMAPHORE_H ) #define SEMAPHORE_H diff --git a/signal.c b/signal.c index 845019d3..4d3e93f4 100644 --- a/signal.c +++ b/signal.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ /* diff --git a/tests/GNUmakefile.in b/tests/GNUmakefile.in index 5e5e7ade..623ee201 100644 --- a/tests/GNUmakefile.in +++ b/tests/GNUmakefile.in @@ -3,9 +3,9 @@ # # -------------------------------------------------------------------------- # -# pthreads-w32 / Pthreads4w - POSIX Threads for Windows +# pthreads-win32 / Pthreads4w - POSIX Threads for Windows # Copyright 1998 John E. Bossom -# Copyright 1999-2018, pthreads-w32 / Pthreads4w contributors +# Copyright 1999-2018, pthreads-win32 / Pthreads4w contributors # # Homepage: http://sources.redhat.com/pthreads-win32 # @@ -31,6 +31,8 @@ # if not, write to the Free Software Foundation, Inc., # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA # +# -------------------------------------------------------------------------- +# srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ diff --git a/tests/detach1.c b/tests/detach1.c index 4eb8cb73..273ccf25 100644 --- a/tests/detach1.c +++ b/tests/detach1.c @@ -82,7 +82,7 @@ main(int argc, char * argv[]) /* * Check that all threads are now invalid. * This relies on unique thread IDs - e.g. works with - * pthreads-w32 or Solaris, but may not work for Linux, BSD etc. + * pthreads-win32 or Solaris, but may not work for Linux, BSD etc. */ for (i = 0; i < NUMTHREADS; i++) { diff --git a/version.rc b/version.rc index 88c643b6..353ed595 100644 --- a/version.rc +++ b/version.rc @@ -29,6 +29,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #include diff --git a/w32_CancelableWait.c b/w32_CancelableWait.c index 511e6c12..c342354c 100644 --- a/w32_CancelableWait.c +++ b/w32_CancelableWait.c @@ -33,6 +33,8 @@ * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -------------------------------------------------------------------------- */ #ifdef HAVE_CONFIG_H