]> Cypherpunks repositories - gostls13.git/commit
add LockOSThread and UnlockOSThread to
authorRuss Cox <rsc@golang.org>
Tue, 14 Jul 2009 00:28:39 +0000 (17:28 -0700)
committerRuss Cox <rsc@golang.org>
Tue, 14 Jul 2009 00:28:39 +0000 (17:28 -0700)
commit218c3930294784bdab10cb251dde620a3a8d8d8c
tree1f8296c92fdb3c4c5c200b360ca1603565e8cc5a
parent9126b75e358cc50c7bf945ec94846c03200ee2a7
add LockOSThread and UnlockOSThread to
runtime package for use by debugger,
which needs to make sure that all ptrace calls
about a given pid come from the same thread.

R=r
DELTA=175  (90 added, 63 deleted, 22 changed)
OCL=31546
CL=31558
src/pkg/runtime/extern.go
src/pkg/runtime/proc.c
src/pkg/runtime/runtime.h