Commit Briefs

Russ Cox

libthread: drop schedlock

Having two locks in the proc was causing deadlocks.


Russ Cox

9c: drop PLAN9PORT_ASAN

It is no longer special.



Russ Cox

9a: remove a few mentions



Russ Cox

all: remove $OBJTYPE from build

Now that we assume pthreads, the only assembly left is in libmp and libsec. We only ever added assembly for 386. The portable C code is fine for plan9port.


Russ Cox

wintext: use rc not bash


Russ Cox

9term: use openpty on NetBSD

Fixes #376.


Russ Cox

devdraw: add /usr/X11R7 for NetBSD

Fixes #362.


Russ Cox

libthread: simplify

Now that everything uses pthreads and pthreadperthread, can delete various conditionals, all the custom context code, and so on. Also update documents. Fixes #355.




Russ Cox

libthread: add threadmaybackground

Programs that want to background themselves now need to define threadmaybackground returning 1. This avoids a confusing (to people and debuggers) extra parent process for all the threaded programs that will never want to background themselves.


Russ Cox

libthread: delete NetBSD special case

I added a direct call from thread.c to pthread.c's _threadpthreadstart in May, and no one has complained about NetBSD being broken. So probably no one is using this on NetBSD at all. Make pthread the only option.


Russ Cox

9c: use -fcommon for clang

Fixes #469.