Commit Briefs
libthread: rm FreeBSD 4 code
Pretty sure FreeBSD 4 is gone now. :-)
libthread: rm OpenBSD.c
This should have been deleted in 20f5692b (2012-07-14), which removed the mkfile and sysofiles.sh references to it.
libthread: rm unused ARM (get|set)mcontext (#354)
They were just a duplicate of my(get|set)mcontext from the other assembly file, and unused from threadimpl.h. Change-Id: Id8003e5177ed9d37a7f0210037acbe55bbf7f708
9fs: remove tip (dead?), redirect sources to 9p.io
Fixes #195. Signed-off-by: Dan Cross <cross@gajendra.net>
libthread: NetBSD supports pthreads, remove ancient systems in sysofiles.sh
Signed-off-by: Dan Cross <cross@gajendra.net>
malloc: remove locking
The issue manifests in fork: POSIX fork mandates that a fork'd process is created with a single thread. If a multithreaded program forks, and some thread was in malloc() when the fork() happened, then in the child the lock will be held but there will be no thread to release it. We assume the system malloc() must already know how to deal with this and is thread-safe, but it won't know about our custom spinlock. Judging that this is no longer necessary (the lock code was added 15 years ago) we remove it. Signed-off-by: Dan Cross <cross@gajendra.net>
lib9: putenv wraps POSIX setenv, not legacy putenv
POSIX setenv does everything that p9putenv's body, so just delegate to that. Signed-off-by: Dan Cross <cross@gajendra.net>
devdraw: avoid deadlock in x11 resize
Fixes #347.
libmach: Fix type errors in FreeBSD.c
The ptrace handlers wanted to take u64int arguments, not ulong. Signed-off-by: Dan Cross <cross@gajendra.net>
devdraw: actually send resize event on resize
Fixes #340. Fixes #343.
factotum: update for new nbrecvul return value
Unclear whether the old semantics were the right ones, but at least this preserves what they've been for the past however many years.