19f99199a4
as part of the configure options. A pth with this option enabled provides some semblance of pre-emptive threads - enough for things like xmms and knode to actually work. Add the necessary glue to pthread.buildlink.mk and appropriate CONFLICT into pth. It is hoped that the pkgs that currently use -D_POSIX_THREAD_SYSCALL_SOFT=1 will be tested against pth-syscall and changed to use it. The goal is to be able to add --enable-syscall-hard to devel/pth and retire pth-syscall. Baby steps...
9 lines
577 B
Text
9 lines
577 B
Text
PTH is a very portable POSIX/ANSI-C based library for Unix platforms which
|
|
provides non-preemptive scheduling for multiple threads of execution
|
|
("multithreading") inside server applications. All threads run in the same
|
|
address space of the server application, but each thread has its own
|
|
individual program-counter, run-time stack, signal mask and errno variable.
|
|
|
|
This version makes use of the --enable-syscall-hard option that provides
|
|
replacement syscalls in libpthread. The function gives the appearance of
|
|
some preemptiveness as it provides new syscall entry points.
|