Commit graph

18 commits

Author SHA1 Message Date
Russ Cox
e68f07d46f libthread: make pthreadperthread the default 2020-12-30 00:20:26 -05:00
Russ Cox
b3a20a96eb 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.
2020-12-30 00:12:14 -05:00
Russ Cox
d32deab17b tmac: rename IM (italic manual) to MR (manual reference)
Suggested by G. Brandon Robinson.
2020-08-15 20:09:40 -04:00
Russ Cox
977b25a76a 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.
2020-08-13 23:43:43 -04:00
Russ Cox
0158bceec7 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.
2020-01-12 15:08:28 -05:00
Russ Cox
9e4b56e764 libthread: add threadspawnd
R=rsc
http://codereview.appspot.com/6742064
2012-10-22 12:32:09 -04:00
Russ Cox
9ea7f9d82f libthread: remove unimplemented chaninit 2009-04-30 08:00:40 -07:00
grai
e1df0680fd libthread: document some unimplemented functions 2008-07-22 03:23:17 +10:00
rsc
df970459f9 pin 2006-06-26 05:47:59 +00:00
rsc
33488b09cb nptl brokenness 2005-03-18 19:01:16 +00:00
rsc
e4d62adf03 update 2005-01-18 18:31:09 +00:00
rsc
c8b6342d3c Many small edits. 2005-01-13 04:49:19 +00:00
rsc
c3674de413 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
rsc
058b0118a5 Some man pages. 2005-01-03 06:40:20 +00:00
rsc
b5fdffeeed Mostly path name updates 2004-04-19 19:22:56 +00:00
rsc
bf8a59fa01 Rewrite page(2) references to page(3).
Add description of new libmach.
2004-04-11 03:42:27 +00:00
rsc
cfa37a7b11 Lots of man pages. 2004-04-10 18:53:55 +00:00
rsc
b2cfc4e2e7 Initial revision 2003-09-30 17:47:41 +00:00