aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.h
diff options
context:
space:
mode:
authorAram Hăvărneanu <aram@mgk.ro>2014-07-03 11:36:05 +1000
committerDave Cheney <dave@cheney.net>2014-07-03 11:36:05 +1000
commitdf75f082d3f18f859ddbd3d002c711a4ec507948 (patch)
tree2f2deff9c954b49a09d5463cd002915b501d3551 /src/pkg/runtime/runtime.h
parent61ccc1f05fe6e79ec79e59166e1a3fa3454ab406 (diff)
downloadgo-df75f082d3f18f859ddbd3d002c711a4ec507948.tar.xz
runtime: make runtime·usleep and runtime·osyield callable from cgo callback
runtime·usleep and runtime·osyield fall back to calling an assembly wrapper for the libc functions in the absence of a m, so they can be called in cgo callback context. LGTM=rsc R=minux.ma, rsc CC=dave, golang-codereviews https://golang.org/cl/102620044
Diffstat (limited to 'src/pkg/runtime/runtime.h')
0 files changed, 0 insertions, 0 deletions