summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Rework the pthread-stub designEmil Velikov2017-03-011-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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@collabora.com> Acked-by: Eric Anholt <eric@anholt.net> Signed-off-by: Uli Schlachter <psychon@znc.in>
* Fix `distcheck' targetJulien Danjou2010-06-221-2/+4
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Generate stubs.c via MakefileJulien Danjou2010-05-051-0/+3
| | | | | Signed-off-by: Julien Danjou <julien@danjou.info> Reviewed-by: Jamey Sharp <jamey@minilop.net>
* Library that provides pthread stubs that are missing from your platform libc.Jamey Sharp2006-11-211-0/+7