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
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
Russ Cox
47ede89e4a
libthread: simplify alt tracking, possibly fixing bug
2007-08-22 11:14:30 -04:00
rsc
df970459f9
pin
2006-06-26 05:47:59 +00:00
rsc
cbeb0b26e4
Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
2006-04-01 19:24:03 +00:00
rsc
3fd66761f7
add procwait
2006-02-12 16:48:11 +00:00
rsc
615e0f9fb2
add threadidle
2006-02-07 17:02:05 +00:00
rsc
9eda38e51f
add threadid
2006-02-05 17:50:09 +00:00
rsc
0a89a29f4e
add threaddata; correct Alt order
2005-03-18 18:53:51 +00:00
rsc
9d407753d0
add threadgetname
2005-02-11 16:52:29 +00:00
rsc
de9e3ca743
fix typo
2005-02-08 21:03:55 +00:00
rsc
80f510c8a4
add threadspawnl
2005-01-18 18:26:43 +00:00
rsc
38c10d1abc
do not call exits in threaded programs
2005-01-17 21:29:00 +00:00
rsc
c8b6342d3c
Many small edits.
2005-01-13 04:49:19 +00:00
rsc
8fd256985d
add threadnotify
2005-01-04 22:07:31 +00:00
rsc
1a0954abb8
autolib
2005-01-04 21:18:08 +00:00
rsc
9cb22ba607
add threadlinklibrary
2004-12-28 04:04:16 +00:00
rsc
2c87dda8f8
add threaddaemonize(), more bug fixes
2004-12-28 01:35:38 +00:00
rsc
1d011ae242
yield now returns the number of switches done
2004-12-27 19:12:56 +00:00
rsc
e317e37406
add chansetname prototype
2004-12-27 03:36:37 +00:00
rsc
678ede7e54
various changes from plan 9
2004-12-27 00:14:43 +00:00
rsc
3286afda88
new thread library
2004-12-25 22:00:11 +00:00
rsc
06bb4ed20d
Rewrite to remove dependence on rendezvous and its bizarre
...
data structures. Makes it easier to use pthreads too.
Still need to add code for non-pthreads systems.
Just a checkpoint to switch work to another machine.
2004-09-17 00:38:29 +00:00
rsc
a3ad5254ee
add network routines
2004-06-09 14:13:24 +00:00
rsc
c4097c2951
Fix small bugs.
2004-05-11 17:51:27 +00:00
rsc
be36ff6885
add -W to specify window size.
...
various other little fixes.
2004-04-29 17:13:24 +00:00
rsc
1aa4e9c82e
little things
2004-04-23 05:17:54 +00:00
rsc
91c13e54b5
Move utf, fmt. Small header file changes.
2004-02-29 22:11:15 +00:00
rsc
d0bc889a8a
add Lock to struct Ref.
2003-12-17 04:35:09 +00:00
rsc
32f69c36e0
Add support for user-level 9P servers/clients and various bug fixes to go with them.
2003-12-11 17:48:38 +00:00
rsc
e97ceade5e
various tweaks.
2003-12-06 18:05:27 +00:00
rsc
f7012583e9
Add the #goo to allow use in C++.
...
Silence a few more warnings.
Strip down the mkfiles more.
Fix bug in X11 mouse handling, note groups.
2003-11-25 01:40:27 +00:00
rsc
b2cfc4e2e7
Initial revision
2003-09-30 17:47:41 +00:00