[Xcb-commit] Library that provides pthread stubs that are missing from your platform libc.: Changes to 'master'
Uli Schlachter
psychon at kemper.freedesktop.org
Wed Mar 1 16:45:15 UTC 2017
Makefile.am | 10 ----
README | 114 +++++++++++++++++++++++++++++++++++++++++++++++-----
autogen.sh | 6 +-
configure.ac | 65 +++++++++++++----------------
list.m4 | 3 -
pthread-stubs.pc.in | 3 -
stubs.c.m4 | 91 -----------------------------------------
7 files changed, 140 insertions(+), 152 deletions(-)
New commits:
commit 97b1f564e6b02c490a7f6145504357738a9ac0d1
Author: Emil Velikov <emil.velikov at collabora.com>
Date: Fri Feb 17 18:37:22 2017 +0000
configure: drop various AC_macros
As of last commit we no longer create any binaries, thus config.h, CC
and libtool are no longer required.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Acked-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Uli Schlachter <psychon at znc.in>
commit 8340ebd656c7e1a5b6d31170c1f3c87df043e793
Author: Emil Velikov <emil.velikov at collabora.com>
Date: Mon Feb 20 11:18:58 2017 +0000
Rework the pthread-stub design
The current design handles the most common use-cases, although it causes
breakage on others (when a pthreads liked library is dlopened). Refer to
the README for further details.
The new design, makes pthread-stubs a "meta" package which _never_
provides a library but only a .pc file.
pthread-stubs checks if the run-time (libc or otherwise) expose
lightweight pthread symbols to link against and defaults to a full blown
pthread.
This way projects can use the Cflags/Libs without having to know the
details. Alternatively they can directly link against the pthread
implementation, although that might bring unwarranted overhead.
v2:
- Remove m4 macro, always use -pthread and document why.
- Sort the symbol list, document how it's derived what is allowed and
what not.
- Rework the README to start from current state of afairs to past ones.
- Document platforms that are 'safe' and ones that are not.
v3:
- Add SVN note about -pthread + Cygwin/mingw/mingw-w64
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Acked-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Uli Schlachter <psychon at znc.in>
commit 816ca2affbd5a9d2e551851de4d0a26ec080d948
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Fri Feb 17 18:37:20 2017 +0000
Revert "list.m4: Add some new pthread symbols"
This reverts commit fa6db2f9c018c54a47e94c0175450303d700aa92.
This commit causes pthread-stubs to provide a library (with stubs) for
most platforms. This by itself is the goal of the project, although
unveiled severe design issue with the project as a whole.
That will be covered and addressed in a later commit.
In other words: pthread-stubs won't provide/guarantee these symbols any
more. That is perfectly fine since a) there has been no pthread-stubs
release that provides the API, and b) these should be provided by a full
blown pthreads implementation.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98048
Acked-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Uli Schlachter <psychon at znc.in>
commit ce706c62f6a14e52fd3ccaf4faf8712c8f057475
Author: Emil Velikov <emil.velikov at collabora.com>
Date: Fri Feb 17 18:37:19 2017 +0000
autogen.sh: quote path variables
If the pathname has space things will explode in various ways. Avoid
that by adding quotation marks where applicable.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Acked-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Uli Schlachter <psychon at znc.in>
More information about the xcb-commit
mailing list