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

Uli Schlachter psychon at znc.in
Sat Feb 18 10:25:16 UTC 2017


Fine by me (count that as a R-b). Let's wait a bit for others to
complain. Then please ping me and I will push this to Git.

On 17.02.2017 19:37, Emil Velikov wrote:
> 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
> 


-- 
- Captain, I think I should tell you I've never
  actually landed a starship before.
- That's all right, Lieutenant, neither have I.


More information about the Xcb mailing list