aboutsummaryrefslogtreecommitdiff
path: root/man/man3
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2020-01-14 11:41:08 +0100
committerPetter Rodhelind <petter.rodhelind@gmail.com>2020-01-14 11:41:08 +0100
commit02d7aa8915f9c3a3288dab01f321eb94ba219e3b (patch)
treef053238978479e408a2b83571443e132f30586ab /man/man3
parentc0c9d8f883dfd3a7f5a74499d91bb95884b15873 (diff)
parent3d1382b98a502d0c34d5ba2c462396acc515016e (diff)
downloadplan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.tar.gz
plan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.tar.bz2
plan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'man/man3')
-rw-r--r--man/man3/mouse.310
-rw-r--r--man/man3/thread.38
2 files changed, 14 insertions, 4 deletions
diff --git a/man/man3/mouse.3 b/man/man3/mouse.3
index 216c72b0..b5061fd9 100644
--- a/man/man3/mouse.3
+++ b/man/man3/mouse.3
@@ -88,15 +88,15 @@ returns a structure through which one may access the mouse:
typedef struct Mousectl Mousectl;
struct Mousectl
{
- Mouse;
- Channel *c; /* chan(Mouse)[16] */
+ Mouse m;
+ Channel *c; /* chan(Mouse)[16] */
Channel *resizec; /* chan(int)[2] */
char *file;
int mfd; /* to mouse file */
int cfd; /* to cursor file */
int pid; /* of slave proc */
- Image* image; /* of associated window/display */
+ Image* image; /* of associated window/display */
};
.EE
.PP
@@ -142,7 +142,9 @@ to reconnect to the window.
.I Readmouse
updates the
.B Mouse
-structure held in the
+structure
+.B m
+held in the
.BR Mousectl ,
blocking if the state has not changed since the last
.I readmouse
diff --git a/man/man3/thread.3 b/man/man3/thread.3
index 0ebbddd0..9088ae2e 100644
--- a/man/man3/thread.3
+++ b/man/man3/thread.3
@@ -169,6 +169,14 @@ initialized to the desired value
.B mainstacksize
.B =
.BR 1024 ).
+When using the
+.I pthread
+library,
+.B mainstacksize
+is ignored, as is the stack size argument to
+.BR proccreate :
+the first thread in each proc
+runs on the native system stack.
.PP
.I Threadcreate
creates a new thread in the calling proc, returning a unique integer