diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-03-11 17:03:00 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-03-11 17:03:00 (GMT) |
commit | c93c3a3b39929c9a7f1c816f4dc8a058f9eea85c (patch) | |
tree | 505d98c9c1a78785f5425cbf44b19004b4d49516 /doc/Thread.3 | |
parent | 014ce74e1d7d90d99e3b310e2e4a923f789802a2 (diff) | |
download | tcl-c93c3a3b39929c9a7f1c816f4dc8a058f9eea85c.zip tcl-c93c3a3b39929c9a7f1c816f4dc8a058f9eea85c.tar.gz tcl-c93c3a3b39929c9a7f1c816f4dc8a058f9eea85c.tar.bz2 |
A number of small spelling and wording fixes in the docs.
Diffstat (limited to 'doc/Thread.3')
-rw-r--r-- | doc/Thread.3 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/Thread.3 b/doc/Thread.3 index 4b5e7c3..ca135ee 100644 --- a/doc/Thread.3 +++ b/doc/Thread.3 @@ -70,7 +70,7 @@ Arbitrary information. Passed as sole argument to the \fIproc\fR. .AP int stackSize in The size of the stack given to the new thread. .AP int flags in -Bitmask containing flags allowing the caller to modify behaviour of +Bitmask containing flags allowing the caller to modify behavior of the new thread. .AP int *result out The referred storage is used to place the exit code of the thread @@ -91,15 +91,15 @@ and use multiple interpreters.) .SH DESCRIPTION Tcl provides \fBTcl_CreateThread\fR for creating threads. The caller can determine the size of the stack given to the new thread and -modify the behaviour through the supplied \fIflags\fR. The value +modify the behavior through the supplied \fIflags\fR. The value \fBTCL_THREAD_STACK_DEFAULT\fR for the \fIstackSize\fR indicates that the default size as specified by the operating system is to be used for the new thread. As for the flags, currently only the values \fBTCL_THREAD_NOFLAGS\fR and \fBTCL_THREAD_JOINABLE\fR are defined. The -first of them invokes the default behaviour with no -specialties. Using the second value marks the new thread as -\fIjoinable\fR. This means that another thread can wait for the such -marked thread to exit and join it. +first of them invokes the default behavior with no special settings. +Using the second value marks the new thread as \fIjoinable\fR. This +means that another thread can wait for the such marked thread to exit +and join it. .PP Restrictions: On some UNIX systems the pthread-library does not contain the functionality to specify the stack size of a thread. The |