Commit Briefs


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

tmac: rename IM (italic manual) to MR (manual reference)

Suggested by G. Brandon Robinson.


Russ Cox

tmac: introduce real manual reference macro instead of overloading IR

The overloading of IR emits magic \X'...' sequences that turn into HTML manual links. But not all such IR invocations should be manual links; those had to be written to avoid the IR macro before. Worse, the \X'...' ending the IR causes troff to emit only a single space after a period. Defining a new IM macro for manual references fixes both problems. Fixes #441.


Russ Cox

libthread: run first thread in proc on system stack

For pthread systems that are fussy about which stack is used, this makes sure that threadmain runs on a system stack. If you only use proccreate (never threadcreate), all threads run on system stacks.


Russ Cox

libthread: add threadspawnd

R=rsc http://codereview.appspot.com/6742064




rsc

pin


rsc

nptl brokenness


rsc

update


rsc

Many small edits.



rsc

Some man pages.


rsc

Mostly path name updates