Skip to content

Commit

Permalink
more banner work for pre-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
GerHobbelt committed Apr 14, 2021
1 parent a913204 commit f8647a6
Show file tree
Hide file tree
Showing 220 changed files with 551 additions and 246 deletions.
4 changes: 2 additions & 2 deletions GNUmakefile.in
Original file line number Diff line number Diff line change
@@ -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
#
Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand All @@ -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.

Expand Down Expand Up @@ -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
----------
Expand Down Expand Up @@ -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
Expand All @@ -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.
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion _ptw32.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
* --------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions aclocal.m4
Original file line number Diff line number Diff line change
@@ -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
##
Expand Down
2 changes: 2 additions & 0 deletions cmake/version.rc.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 <winver.h>
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -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
#
Expand Down
2 changes: 2 additions & 0 deletions context.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions create.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions dll.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*
* Description:
* This translation unit implements DLL initialisation.
* This translation unit implements static auto-init and auto-exit logic.
*
* --------------------------------------------------------------------------
*
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/ANNOUNCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Releases: http://sources.redhat.com/pthreads-win32files
Maintainer: Ross Johnson <firstname dot lastname at loungebythelake dot net>


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
Expand All @@ -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
Expand Down
26 changes: 13 additions & 13 deletions docs/NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand All @@ -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.

Expand Down Expand Up @@ -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
----------
Expand Down Expand Up @@ -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
Expand All @@ -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.
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docs/NOTICE.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand Down
2 changes: 2 additions & 0 deletions errno.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions global.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit f8647a6

Please sign in to comment.