An error occurred fetching the project authors.
- 15 Feb, 2013 1 commit
-
-
Russ Cox authored
There are two ways nohup(1) might be implemented: it might mask away the signal, or it might set the handler to SIG_IGN, both of which are inherited across fork+exec. So two fixes: * Make sure to preserve the inherited signal mask at minit instead of clearing it. * If the SIGHUP handler is SIG_IGN, leave it that way. Fixes #4491. R=golang-dev, mikioh.mikioh, iant CC=golang-dev https://golang.org/cl/7308102
-
- 01 Feb, 2013 1 commit
-
-
Russ Cox authored
* Separate internal and external LockOSThread, for cgo safety. * Show goroutine that made faulting cgo call. * Never start a panic due to a signal caused by a cgo call. Fixes #3774. Fixes #3775. Fixes #3797. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7228081
-
- 16 Apr, 2012 1 commit
-
-
Joel Sing authored
Update runtime defs for openbsd. Add struct __tfork, which will be needed by an upcoming change. R=golang-dev, adg CC=golang-dev https://golang.org/cl/6007050
-
- 10 Apr, 2012 1 commit
-
-
Joel Sing authored
Block signals during thread creation, otherwise the new thread can receive a signal prior to initialisation completing. Fixes #3102. R=golang-dev, rsc, devon.odell, minux.ma CC=golang-dev https://golang.org/cl/5757064
-
- 14 Feb, 2012 1 commit
-
-
Russ Cox authored
Typing ^\ delivers the SIGQUIT to all threads, it appears. R=golang-dev, r, iant CC=golang-dev https://golang.org/cl/5657044
-
- 13 Feb, 2012 1 commit
-
-
Russ Cox authored
Restore package os/signal, with new API: Notify replaces Incoming, allowing clients to ask for certain signals only. Also, signals go to everyone who asks, not just one client. This could plausibly move into package os now that there are no magic side effects as a result of the import. Update runtime for new API: move common Unix signal handling code into signal_unix.c. (It's so easy to do this now that we don't have to edit Makefiles!) Tested on darwin,linux 386,amd64. Fixes #1266. R=r, dsymonds, bradfitz, iant, borman CC=golang-dev https://golang.org/cl/3749041
-
- 16 Dec, 2011 1 commit
-
-
Russ Cox authored
Collapse the arch,os-specific directories into the main directory by renaming xxx/foo.c to foo_xxx.c, and so on. There are no substantial edits here, except to the Makefile. The assumption is that the Go tool will #define GOOS_darwin and GOARCH_amd64 and will make any file named something like signals_darwin.h available as signals_GOOS.h during the build. This replaces what used to be done with -I$(GOOS). There is still work to be done to make runtime build with standard tools, but this is a big step. After this we will have to write a script to generate all the generated files so they can be checked in (instead of generated during the build). R=r, iant, r, lucio.dere CC=golang-dev https://golang.org/cl/5490053
-
- 12 Dec, 2011 1 commit
-
-
Christopher Nielsen authored
R=rsc CC=golang-dev https://golang.org/cl/5477052
-
- 08 Aug, 2011 1 commit
-
-
Joel Sing authored
Add support for the go runtime on openbsd/amd64. This is based on the existing freebsd runtime. Threads are implemented using OpenBSD's rthreads, which are currently disabled by default, however can be enabled via the kern.rthreads sysctl. For now, cgo is disabled. R=rsc CC=golang-dev https://golang.org/cl/4815067
-
- 26 Jul, 2011 1 commit
-
-
Mikio Hara authored
Fixes #2078. R=rsc CC=golang-dev https://golang.org/cl/4800052
-
- 25 Apr, 2011 1 commit
-
-
Russ Cox authored
Tested on Linux and OS X, amd64 and 386. R=r, iant CC=golang-dev https://golang.org/cl/4452046
-
- 24 Mar, 2011 1 commit
-
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/4285063
-
- 23 Mar, 2011 1 commit
-
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/4306043
-
- 23 Feb, 2011 2 commits
-
-
Russ Cox authored
A terminal panic (one that prints a stack trace and exits) has been calling runtime.breakpoint before calling exit, so that if running under a debugger, the debugger can take control. When not running under a debugger, though, this causes an additional SIGTRAP on Unix and pop-up dialogs on Windows. Support for debugging Go programs has gotten good enough that we can rely on the debugger to set its own breakpoint on runtime.exit if it wants to look around. R=r, r2 CC=golang-dev https://golang.org/cl/4222043
-
Russ Cox authored
The existing code assumed that signals only arrived while executing on the goroutine stack (g == m->curg), not while executing on the scheduler stack (g == m->g0). Most of the signal handling trampolines correctly saved and restored g already, but the sighandler C code did not have access to it. Some rewriting of assembly to make the various implementations as similar as possible. Will need to change Windows too but I don't understand how sigtramp gets called there. R=r CC=golang-dev https://golang.org/cl/4203042
-
- 18 Jan, 2011 1 commit
-
-
Russ Cox authored
$ 6.out panic: runtime error: invalid memory address or nil pointer dereference [signal 11 code=0x1 addr=0x0 pc=0x1c16] runtime.panic+0xa7 /Users/rsc/g/go/src/pkg/runtime/proc.c:1089 runtime.panic(0xf6c8, 0x25c010) runtime.panicstring+0x69 /Users/rsc/g/go/src/pkg/runtime/runtime.c:88 runtime.panicstring(0x24814, 0x0) runtime.sigpanic+0x144 /Users/rsc/g/go/src/pkg/runtime/darwin/thread.c:465 runtime.sigpanic() main.f+0x16 /Users/rsc/x.go:5 main.f() main.main+0x1c /Users/rsc/x.go:9 main.main() runtime.mainstart+0xf /Users/rsc/g/go/src/pkg/runtime/amd64/asm.s:77 runtime.mainstart() runtime.goexit /Users/rsc/g/go/src/pkg/runtime/proc.c:149 runtime.goexit() R=r CC=golang-dev https://golang.org/cl/4036042
-
- 04 Nov, 2010 1 commit
-
-
Russ Cox authored
Prefix all external symbols in runtime by runtime·, to avoid conflicts with possible symbols of the same name in linked-in C libraries. The obvious conflicts are printf, malloc, and free, but hide everything to avoid future pain. The symbols left alone are: ** known to cgo ** _cgo_free _cgo_malloc libcgo_thread_start initcgo ncgocall ** known to linker ** _rt0_$GOARCH _rt0_$GOARCH_$GOOS text etext data end pclntab epclntab symtab esymtab ** known to C compiler ** _divv _modv _div64by32 etc (arch specific) Tested on darwin/386, darwin/amd64, linux/386, linux/amd64. Built (but not tested) for freebsd/386, freebsd/amd64, linux/arm, windows/386. R=r, PeterGo CC=golang-dev https://golang.org/cl/2899041
-
- 11 Sep, 2010 1 commit
-
-
Russ Cox authored
g is not in r15 anymore. now it's in a per-thread memory segment, which is valid even inside a signal handler, so we can just refer to g directly. Fixes #1082. R=r CC=golang-dev https://golang.org/cl/2149045
-
- 29 Jun, 2010 1 commit
-
-
Ian Lance Taylor authored
Fixes #776. R=rsc CC=golang-dev https://golang.org/cl/1745041
-
- 20 May, 2010 1 commit
-
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/1083041
-
- 14 Apr, 2010 1 commit
-
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/854048
-
- 09 Apr, 2010 2 commits
-
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/867046
-
Russ Cox authored
tested on linux/amd64, linux/386, linux/arm, darwin/amd64, darwin/386. freebsd untested; will finish in a separate CL. for now all the panics are errorStrings. richer structures can be added as necessary once the mechanism is shaked out. R=r CC=golang-dev https://golang.org/cl/906041
-
- 05 Apr, 2010 1 commit
-
-
Russ Cox authored
* correct symbol table size * do not reorder functions in output * traceback * signal handling * use same code for go + defer * handle leaf functions in symbol table R=kaib, dpx CC=golang-dev https://golang.org/cl/884041
-
- 17 Dec, 2009 1 commit
-
-
Russ Cox authored
most signals, so that ordinary programs can be killed, for example. Fixes #434. R=dsymonds1 CC=golang-dev, hoisie https://golang.org/cl/180064
-
- 16 Dec, 2009 1 commit
-
-
David Symonds authored
Fixes #71. R=rsc, r https://golang.org/cl/162056
-
- 09 Dec, 2009 1 commit
-
-
Devon H. O'Dell authored
R=rsc CC=golang-dev https://golang.org/cl/165097
-
- 20 Nov, 2009 1 commit
-
-
Devon H. O'Dell authored
we can't use them interchangably. R=rsc, wjosephson CC=golang-dev https://golang.org/cl/156113
-
- 17 Nov, 2009 1 commit
-
-
Devon H. O'Dell authored
cgo/libmach remain unimplemented. However, compilers, runtime, and packages are 100%. I still need to go through and implement missing syscalls (at least make sure they're all listed), but for all shipped functionality, this is done. Ship! ;) R=rsc, VenkateshSrinivas https://golang.org/cl/152142
-