delve/proc
Derek Parker e4fc5e32c2 Refactor: Use thread-locked goroutine for ptrace ops
Previously either the terminal client or the debugger service would
either lock main goroutine to a thread or provide a locked goroutine to
run _all_ DebuggedProcess functions in. This is unnecessary because only
ptrace functions need to be run from the same thread that originated the
PT_ATTACH request.

Here we use a specific thread-locked goroutine to service any ptrace
request. That goroutine is also responsible for the initial spawning /
attaching of the process, since it must be responsible for the PT_ATTACH
request.
2015-06-13 12:57:42 -05:00
..
test Refactor: Use thread-locked goroutine for ptrace ops 2015-06-13 12:57:42 -05:00
arch.go Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
breakpoints_darwin_amd64.go Refactor: Use thread-locked goroutine for ptrace ops 2015-06-13 12:57:42 -05:00
breakpoints_linux_amd64.go Refactor: Use thread-locked goroutine for ptrace ops 2015-06-13 12:57:42 -05:00
breakpoints.go Refactor: Use thread-locked goroutine for ptrace ops 2015-06-13 12:57:42 -05:00
doc.go Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
exc_user_darwin.c Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
exc.h Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
exec_darwin.c Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
exec_darwin.h Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
mach_exc_user_darwin.c Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
mach_exc.defs Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
mach_exc.h Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
proc_darwin.c Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
proc_darwin.go Refactor: Use thread-locked goroutine for ptrace ops 2015-06-13 12:57:42 -05:00
proc_darwin.h Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
proc_linux.go Refactor: Use thread-locked goroutine for ptrace ops 2015-06-13 12:57:42 -05:00
proc_test.go Refactor: Use thread-locked goroutine for ptrace ops 2015-06-13 12:57:42 -05:00
proc.go Refactor: Use thread-locked goroutine for ptrace ops 2015-06-13 12:57:42 -05:00
ptrace_darwin.go Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
ptrace_linux.go Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
registers_darwin_amd64.go Rename: s/ThreadContext/Thread/ 2015-06-12 14:51:23 -05:00
registers_linux_amd64.go Refactor: Use thread-locked goroutine for ptrace ops 2015-06-13 12:57:42 -05:00
registers.go Rename: s/ThreadContext/Thread/ 2015-06-12 14:51:23 -05:00
stack.go Rename: s/ThreadContext/Thread/ 2015-06-12 14:51:23 -05:00
threads_darwin.c Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
threads_darwin.go Refactor: Use thread-locked goroutine for ptrace ops 2015-06-13 12:57:42 -05:00
threads_darwin.h Rename package proctl -> proc 2015-06-12 14:49:23 -05:00
threads_linux.go Refactor: Use thread-locked goroutine for ptrace ops 2015-06-13 12:57:42 -05:00
threads.go Update documentation for Thread struct 2015-06-12 14:53:20 -05:00
variables_test.go Rename: s/ThreadContext/Thread/ 2015-06-12 14:51:23 -05:00
variables.go Rename: s/ThreadContext/Thread/ 2015-06-12 14:51:23 -05:00