aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/lock_futex.c
AgeCommit message (Collapse)AuthorFilesLines
2016-09-30runtime: copy internal locking code from Go 1.7 runtimeIan Lance Taylor1-204/+0
Remove the old locking code written in C. Add a shell script mkrsysinfo.sh to generate the runtime_sysinfo.go file, so that we can get Go copies of the system time structures and other types. Tweak the compiler so that when compiling the runtime package the address operator does not cause local variables to escape. When the gc compiler compiles the runtime, an escaping local variable is treated as an error. We should implement that, instead of this change, when escape analysis is turned on. Tweak the compiler so that the generated C header does not include names that start with an underscore followed by a non-upper-case letter, except for the special cases of _defer and _panic. Otherwise we translate C types to Go in runtime_sysinfo.go and then generate those Go types back as C types in runtime.inc, which is useless and painful for the C code. Change entersyscall and friends to take a dummy argument, as the gc versions do, to simplify calls from the shared code. Reviewed-on: https://go-review.googlesource.com/30079 From-SVN: r240657
2014-06-06libgo: Merge to master revision 19184.Ian Lance Taylor1-2/+14
The next revision, 19185, renames several runtime files, and will be handled in a separate change. From-SVN: r211328
2013-11-06libgo: Update to October 24 version of master library.Ian Lance Taylor1-19/+54
From-SVN: r204466
2013-07-16libgo: Update to Go 1.1.1.Ian Lance Taylor1-14/+14
From-SVN: r200974
2013-01-29libgo: Update Go library to master revision 15489/921e53d4863c.Ian Lance Taylor1-1/+2
From-SVN: r195560
2012-03-06libgo: Update to weekly.2012-03-04 release.Ian Lance Taylor1-2/+10
From-SVN: r185010
2012-01-13libgo: Update to weekly.2011-12-22.Ian Lance Taylor1-2/+4
From-SVN: r183150
2011-11-28runtime: Multiplex goroutines onto OS threads.Ian Lance Taylor1-2/+2
From-SVN: r181772
2011-11-22runtime: New lock/note implementation.Ian Lance Taylor1-0/+146
From-SVN: r181633