diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-03-04 21:23:49 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-03-04 21:23:49 +0000 |
commit | 91ecf406be4959d5c806b45820c5c1fd3a63559a (patch) | |
tree | 572bc9e3771dd27c340f9c512ff61f61265a7d1d /lib/libc | |
parent | c7b2ac872d1609491356a7e97f586591d81b0045 (diff) |
New threads now inherit their TCB address from their parent thread
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/__get_tcb.2 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/sys/__get_tcb.2 b/lib/libc/sys/__get_tcb.2 index 45521acac92..e27fde543af 100644 --- a/lib/libc/sys/__get_tcb.2 +++ b/lib/libc/sys/__get_tcb.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: __get_tcb.2,v 1.2 2011/10/16 06:54:47 guenther Exp $ +.\" $OpenBSD: __get_tcb.2,v 1.3 2012/03/04 21:23:48 guenther Exp $ .\" .\" Copyright (c) 2011 Philip Guenther <guenther@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: October 16 2011 $ +.Dd $Mdocdate: March 4 2012 $ .Dt __GET_TCB 2 .Os .Sh NAME @@ -43,8 +43,7 @@ New threads (including the first thread of a new process) created using .Xr vfork 2 , or .Xr rfork 2 , -start with this address set to zero. -Similarly, +inherit the TCB address of the thread that created them. .Xr execve 2 resets it to zero. .Pp |