summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/darwin/thread.c
AgeCommit message (Collapse)AuthorFilesLines
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-1/+2
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-2/+6
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-90/+97
2010-04-28darwin: bsdthread_create can fail; print good errorRuss Cox1-1/+2
Fixes issue 549. R=adg CC=golang-dev http://codereview.appspot.com/1019042
2010-04-08runtime: turn divide by zero, nil dereference into panicsRuss Cox1-0/+25
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 http://codereview.appspot.com/906041
2010-02-08runtime: allow arbitrary return type in SetFinalizer.Russ Cox1-4/+8
finalize chan, to free OS X semaphore inside Lock. os: finalize File, to close fd. Fixes issue 503. R=ken2 CC=golang-dev http://codereview.appspot.com/204065
2010-01-25in C and asm, replace pkg·name with ·nameRuss Cox1-8/+8
(eliminate assumption of package global name space, make code easier to move between packages). R=r CC=golang-dev http://codereview.appspot.com/194072
2010-01-19runtime: wait to allocate mach semaphores backing Locks until neededRuss Cox1-12/+18
need better management of mach semaphores eventually but this avoids allocating them for uncontended Locks. R=r CC=agl1, golang-dev http://codereview.appspot.com/190079
2010-01-06Ported runtime to Windows.Hector Chu1-15/+0
R=rsc CC=golang-dev http://codereview.appspot.com/176066 Committer: Russ Cox <rsc@golang.org>
2009-10-15rename sys functions to runtime,Russ Cox1-8/+8
because they are in package runtime. another step to enforcing package boundaries. R=r DELTA=732 (114 added, 93 deleted, 525 changed) OCL=35811 CL=35824
2009-10-038c, 8l dynamic loading support.Russ Cox1-3/+6
better mach binaries. cgo working on darwin+linux amd64+386. eliminated context switches - pi is 30x faster. add libcgo to build. on snow leopard: - non-cgo binaries work; all tests pass. - cgo binaries work on amd64 but not 386. R=r DELTA=2031 (1316 added, 626 deleted, 89 changed) OCL=35264 CL=35304
2009-07-27fix bug in CL 30057: missed if+continue in one place.Russ Cox1-0/+2
R=gri DELTA=2 (2 added, 0 deleted, 0 changed) OCL=32214 CL=32223
2009-06-17update 386 to new runtime (CL 30381)Russ Cox1-1/+5
R=r DELTA=298 (119 added, 81 deleted, 98 changed) OCL=30427 CL=30443
2009-06-09mv src/lib to src/pkgRob Pike1-0/+441
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102