diff options
| author | Russ Cox <rsc@golang.org> | 2008-09-24 15:28:03 -0700 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2008-09-24 15:28:03 -0700 |
| commit | afd04fdb98d7a19b312e288836b108507b176077 (patch) | |
| tree | 6b162b17d86f1c40764f6f150be7802aa3c67506 /src/runtime/rt1_amd64_linux.c | |
| parent | 42b7789a9277e7626e4ddaadcbaefb7689d9d8d4 (diff) | |
| download | go-afd04fdb98d7a19b312e288836b108507b176077.tar.xz | |
cleanup; sys.sleep can go.
R=r
OCL=15786
CL=15792
Diffstat (limited to 'src/runtime/rt1_amd64_linux.c')
| -rw-r--r-- | src/runtime/rt1_amd64_linux.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/runtime/rt1_amd64_linux.c b/src/runtime/rt1_amd64_linux.c index 98a53f18e8..97f022666a 100644 --- a/src/runtime/rt1_amd64_linux.c +++ b/src/runtime/rt1_amd64_linux.c @@ -441,16 +441,6 @@ newosproc(M *m, G *g, void *stk, void (*fn)(void)) } void -sys·sleep(int64 ms) -{ - struct timeval tv; - - tv.tv_sec = ms/1000; - tv.tv_usec = ms%1000 * 1000; - select(0, nil, nil, nil, &tv); -} - -void osinit(void) { } |
