History log of /netbsd-src/lib/libpthread/Makefile (Results 1 – 25 of 99)
Revision Date Author Comments
# d3f52b84 22-Nov-2024 riastradh <riastradh@NetBSD.org>

libpthread: Fix expected symbols on alpha and hppa.

These have PTHREAD__ASM_RASOPS and define a different subset of
symbols which get exported. None of these pthread__ras_* and
pthread__lock_* symb

libpthread: Fix expected symbols on alpha and hppa.

These have PTHREAD__ASM_RASOPS and define a different subset of
symbols which get exported. None of these pthread__ras_* and
pthread__lock_* symbols _should_ be exported but we can fix that in a
future revbump.

PR lib/58838: shared libraries in base should all have expsym lists

show more ...


# ea48808d 14-Sep-2023 rin <rin@NetBSD.org>

libpthread/Makefile: trailing whitespace


# cfee6e91 14-Jul-2023 lukem <lukem@NetBSD.org>

fix rump URLs

Link to https://github.com/rumpkernel/ instead of
a site now taken over by an SEO squatter.

Per discussion on github.com/rumpkernel issues with pooka.

PR misc/57501


# 76c7fc5f 11-Nov-2019 joerg <joerg@NetBSD.org>

Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da)


# 2e0a3287 22-Sep-2019 brad <brad@NetBSD.org>

Add USE_SHLIBDIR=yes to a number of Makefiles for the libraries used
by /sbin/{zfs,zpool,mount_zfs}. The general effect is to move them
from /usr/lib to /lib. Compatibility links are installed in /

Add USE_SHLIBDIR=yes to a number of Makefiles for the libraries used
by /sbin/{zfs,zpool,mount_zfs}. The general effect is to move them
from /usr/lib to /lib. Compatibility links are installed in /usr/lib
and nothing that is installed, say in /usr/pkg, appears to break.

With this, it is possible to have a /var and /usr mount using ZFS
legacy mounting early on in the boot process.

Run tested on amd64 and i386 and compile tested on evbarm.

show more ...


# 07975b22 07-May-2019 maya <maya@NetBSD.org>

Make CLEANFILES actually work. .TARGET is not defined when not in a target
rule.

Thanks xtos for the heads up.


# 53af5ae4 07-May-2019 maya <maya@NetBSD.org>

Replace the link command for libpthread.a so that we create a single section
with all the libpthread symbols in it.
This makes -lpthread behave like to -Wl,--whole-archive -lpthread.

This avoids a s

Replace the link command for libpthread.a so that we create a single section
with all the libpthread symbols in it.
This makes -lpthread behave like to -Wl,--whole-archive -lpthread.

This avoids a situation where threaded static binaries use some libc thread
stubs, which are racy.

Fixes PR lib/54001: call_once2_32, call_once2_static test cases failing on
amd64 since gcc7 import.

Suggested by Jonathan Wakely, thanks!

show more ...


# a9ca1710 24-Apr-2019 kamil <kamil@NetBSD.org>

Add a complete C11 threads(3) implementation

C11 Thread support library is a portable threading C API between OSs,
similar to std::threads in the C++ world.

The library is implemented as a thin shi

Add a complete C11 threads(3) implementation

C11 Thread support library is a portable threading C API between OSs,
similar to std::threads in the C++ world.

The library is implemented as a thin shim over POSIX interfaces.

NetBSD implements the API as a part of the POSIX threading library
(libpthread(3)).

C11 threads(3) are in the process of making them an integral part
of the POSIX standard. The interface has been implemented in major
OSs and used with stopgap libraries for older versions of them.

C11 threading library is already used (with a stopgap implementation)
in the NetBSD distribution in MESA.

Original implementation by myself from 2016.

ATF tests are new and cover almost all interfaces.

Proposed on tech-userlevel@.

show more ...


# 68e270a2 03-Feb-2019 thorpej <thorpej@NetBSD.org>

Implement support for "pshared" POSIX semaphores.

Fixes lib/53273 (and Firefox's multi-process tab feature).


# aa669564 09-Jun-2018 christos <christos@NetBSD.org>

But set NOSANITIZER


# 64715b9a 09-Jun-2018 christos <christos@NetBSD.org>

We can't build those three with MKSANITIZER, they are used too early.


# 9f52f229 25-Feb-2018 chs <chs@NetBSD.org>

remove hard-coded -fomit-frame-pointer for pthread stuff,
let these use the same setting as the rest of the tree.
the performance difference is marginal and this allows
dtrace ustack() to work better.


# 7cf7644f 03-Jul-2016 christos <christos@NetBSD.org>

GSoC 2016 Charles Cui: Implement thread priority protection based on work
by Andy Doran. Also document the get/set pshared thread calls as not
implemented, and add a skeleton implementation that is d

GSoC 2016 Charles Cui: Implement thread priority protection based on work
by Andy Doran. Also document the get/set pshared thread calls as not
implemented, and add a skeleton implementation that is disabled.
XXX: document _sched_protect(2).

show more ...


# d394d2a9 23-Apr-2016 christos <christos@NetBSD.org>

Add pthread_getcpuclockid(3)


# 082d249a 16-Dec-2014 pooka <pooka@NetBSD.org>

Allow for arbitrary MI scheduler implementations.

A concrete result is enabling unpatched libpthread to run on the
rumprun stacks (e.g. Xen and bare metal) with a non-NetBSD scheduler.
Those schedul

Allow for arbitrary MI scheduler implementations.

A concrete result is enabling unpatched libpthread to run on the
rumprun stacks (e.g. Xen and bare metal) with a non-NetBSD scheduler.
Those schedulers hook into the existing _lwp_frobnitz() NetBSD syscall
interfaces (well, "syscall" interfaces in that scenario ;)

More specifically about the change itself:

1) instead of calling _lwp_makecontext() followed by _lwp_create()
and passing the entry point in ucontext_t (MD) through the calls, roll
the calls into pthread__makelwp() and allow alternate implementations
for that MI interface.

2) allow compile-time overriding of __lwp_gettcb_fast() or
__lwp_getprivate_fast, which are inline and leak MD scheduler/thread
details into libpthread


Additionally, two small nits:

I) define LIB=pthread before including mk.conf so that it's possible
to test for LIB==pthread in mk.conf

II) make it possible to leave out pthread_cancelstub.c. This is required
by the current implementation of rumprun-posix (i.e. rumprun on
POSIX hosts) due to symbol collisions. It needs to be fixed properly
some day, but for now allows an almost-correct libpthread to run.
I am sure @justin will be happy to explain the details ;)


no change to NetBSD
tested: anita+atf

show more ...


# 11614bb2 10-Aug-2014 matt <matt@NetBSD.org>

MKCOMPAT fixes for when compat MACHINE_CPU != normal MACHINE_CPU


# fa741d88 09-Oct-2013 matt <matt@NetBSD.org>

Use MACHINE_CPU for m68k. Use similar logic for both tests.


# 06cb4b73 15-Aug-2013 matt <matt@NetBSD.org>

Add support for an optional ARCHSUBDIR/Makefile.inc


# a6c6eb01 12-Aug-2013 joerg <joerg@NetBSD.org>

Some architectures can't create unwind tables without the frame pointer,
so don't use -fomit-frame-pointer on those.


# 71d484f9 21-Mar-2013 christos <christos@NetBSD.org>

- Allow libpthread to be dlopened again, by providing libc stubs to libpthread.
- Fail if the dlopened libpthread does pthread_create(). From manu@
- Discussed at length in the mailing lists; approve

- Allow libpthread to be dlopened again, by providing libc stubs to libpthread.
- Fail if the dlopened libpthread does pthread_create(). From manu@
- Discussed at length in the mailing lists; approved by core@
- This was chosen as the least intrusive patch that will provide
the necessary functionality.
XXX: pullup to 6

show more ...


# 6cee3c7c 25-Feb-2013 apb <apb@NetBSD.org>

Explain what PTHREAD__COMPAT is for. This comment in
src/libpthread/Makefile is adated from a comment in
src/doc/CHANGES.prev.


# d8632819 31-Jan-2013 riastradh <riastradh@NetBSD.org>

Add pthread_condattr_setclock(3) man page link.


# 234b0534 04-Aug-2012 matt <matt@NetBSD.org>

-Wfoo goes into CWARNFLAGS


# b757af43 04-Apr-2012 joerg <joerg@NetBSD.org>

Disable new -Wstring-plus-int warning where needed for now.
Adjust various places that add GCC-only options to check for the active
compiler first.


# fa835e8c 21-Mar-2012 matt <matt@NetBSD.org>

These directories default to WARNS?=5


1234