aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/yield.c
AgeCommit message (Collapse)AuthorFilesLines
2016-11-10runtime: copy signal code from Go 1.7 runtimeIan Lance Taylor1-0/+3
Add a little shell script to auto-generate runtime.sigtable from the known signal names. Force the main package to always import the runtime package. Otherwise some runtime package global variables may never be initialized. Set the syscallsp and syscallpc fields of g when entering a syscall, so that the runtime package knows when a g is executing a syscall. Fix runtime.funcPC to avoid dead store elimination of the interface value when the function is inlined. Reviewed-on: https://go-review.googlesource.com/33025 From-SVN: r242060
2014-05-30runtime: Use _mm_pause rather than __builtin_ia32_pause.Ian Lance Taylor1-1/+5
Based on a patch from Peter Collingbourne. From-SVN: r211081
2011-12-20libgo/runtime: Don't define _GNU_SOURCE in source code.Ian Lance Taylor1-2/+0
From-SVN: r182550
2011-10-31syscall: Use sched_yield rather than pthread_yield.Ian Lance Taylor1-2/+2
From-SVN: r180716
2011-10-26Update Go library to last weekly.Ian Lance Taylor1-0/+54
From-SVN: r180552