mirror of
https://github.com/golang/go
synced 2024-11-26 09:48:14 -07:00
runtime: mark usleep as NOSPLIT on Plan 9
Usleep is called from lockextra, also marked NOSPLIT. R=golang-dev, r CC=golang-dev https://golang.org/cl/9258043
This commit is contained in:
parent
b65271d008
commit
8b85a3d480
@ -122,6 +122,7 @@ runtime·osyield(void)
|
|||||||
runtime·sleep(0);
|
runtime·sleep(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma textflag 7
|
||||||
void
|
void
|
||||||
runtime·usleep(uint32 µs)
|
runtime·usleep(uint32 µs)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user