[Xcb] [PATCH pthread-stubs v2 0/4] Rework pthread-stubs design/implementation

Emil Velikov emil.l.velikov at gmail.com
Fri Feb 17 18:37:18 UTC 2017


Hi all,

As a follow-up the previous discussion here is the updated patchset.

Most noticeable changes are:
 - We no longer use the m4 macro to determine the correct 
Cflags/Libs. The README has some extensive information why.
 - The functions and flags in configure were updated, with references to 
the README
 - Completely reworked the README to follow "now ... before" approach, 
splitting into three sections - 'what', 'how' and 'why'

For people who have forgotten:

TL:DR; You _cannot_ have a libpthread-stubs library. Platforms that do
not have the stubs in their runtime _must_ link against a full blown
pthreads.

Such platforms are strongly encouraged to work with their C runtime
devs and address that issue.

Thanks
Emil

[1] https://lists.x.org/archives/xcb/2016-November/010886.html

Emil Velikov (4):
  autogen.sh: quote path variables
  Revert "list.m4: Add some new pthread symbols"
  Rework the pthread-stub design
  configure: drop various AC_macros

 Makefile.am         |  10 -----
 README              | 112 +++++++++++++++++++++++++++++++++++++++++++++++-----
 autogen.sh          |   6 +--
 configure.ac        |  65 ++++++++++++++----------------
 list.m4             |   3 --
 pthread-stubs.pc.in |   3 +-
 stubs.c.m4          |  91 ------------------------------------------
 7 files changed, 138 insertions(+), 152 deletions(-)
 delete mode 100644 stubs.c.m4

-- 
2.11.0



More information about the Xcb mailing list