summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/cgocall.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+249
2011-09-13Imported Upstream version 60Ondřej Surý1-246/+0
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-45/+174
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-1/+2
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-6/+3
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-3/+6
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-25/+29
2010-04-09Library support for cgo export.Ian Lance Taylor1-0/+50
These functions are used to call from a C function back to a Go function. This only includes 386 support. R=rsc CC=golang-dev http://codereview.appspot.com/834045
2010-01-25in C and asm, replace pkg·name with ·nameRuss Cox1-5/+5
(eliminate assumption of package global name space, make code easier to move between packages). R=r CC=golang-dev http://codereview.appspot.com/194072
2009-10-15rename sys functions to runtime,Russ Cox1-4/+4
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-12stack overflow debugging and fix.Russ Cox1-4/+1
* in 6l, -K already meant check for stack underflow. add -KK to mean double-check stack overflows even in nosplit functions. * comment out print locks; they deadlock too easily but are still useful to put back for special occasions. * let runcgo assembly switch to scheduler stack without involving scheduler directly. because runcgo gets called from matchmg, it is too hard to keep it from being called on other stacks. R=r DELTA=94 (65 added, 18 deleted, 11 changed) OCL=35591 CL=35604
2009-10-038c, 8l dynamic loading support.Russ Cox1-25/+18
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-09-24cgo checkpoint.Russ Cox1-0/+23
can write all 3 output files and then compile them by hand. R=r DELTA=919 (841 added, 16 deleted, 62 changed) OCL=34954 CL=34973
2009-08-25checkpoint & test (pidigits) before trying to automate.Russ Cox1-0/+11
R=r DELTA=616 (598 added, 11 deleted, 7 changed) OCL=33846 CL=33848
2009-08-24start of FFI support, and a demo.Russ Cox1-0/+38
R=r DELTA=494 (492 added, 0 deleted, 2 changed) OCL=33784 CL=33810