diff options
| author | Aram Hăvărneanu <aram@mgk.ro> | 2014-07-03 11:36:05 +1000 |
|---|---|---|
| committer | Dave Cheney <dave@cheney.net> | 2014-07-03 11:36:05 +1000 |
| commit | df75f082d3f18f859ddbd3d002c711a4ec507948 (patch) | |
| tree | 2f2deff9c954b49a09d5463cd002915b501d3551 /src/pkg/runtime/runtime.h | |
| parent | 61ccc1f05fe6e79ec79e59166e1a3fa3454ab406 (diff) | |
| download | go-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
