diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-10-18 14:38:29 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-10-18 14:38:29 +0000 |
commit | 812ba636c7b12f2c503e34aaf9e2da50d5777b82 (patch) | |
tree | c81659977f9a532c5d4b53872301ba5e67c4166f /libgo/runtime/runtime.h | |
parent | f5de494c59532fdad30097af4185b2ce74700984 (diff) | |
download | gcc-812ba636c7b12f2c503e34aaf9e2da50d5777b82.zip gcc-812ba636c7b12f2c503e34aaf9e2da50d5777b82.tar.gz gcc-812ba636c7b12f2c503e34aaf9e2da50d5777b82.tar.bz2 |
runtime: copy netpoll code from Go 1.7 runtime
Reviewed-on: https://go-review.googlesource.com/31325
From-SVN: r241307
Diffstat (limited to 'libgo/runtime/runtime.h')
-rw-r--r-- | libgo/runtime/runtime.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/libgo/runtime/runtime.h b/libgo/runtime/runtime.h index dedc574..e60eaed 100644 --- a/libgo/runtime/runtime.h +++ b/libgo/runtime/runtime.h @@ -391,21 +391,8 @@ int64 runtime_tickspersecond(void) __asm__ (GOSYM_PREFIX "runtime.tickspersecond"); void runtime_blockevent(int64, int32); extern int64 runtime_blockprofilerate; -void runtime_addtimer(Timer*) - __asm__ (GOSYM_PREFIX "runtime.addtimer"); -bool runtime_deltimer(Timer*) - __asm__ (GOSYM_PREFIX "runtime.deltimer"); -G* runtime_netpoll(bool); -void runtime_netpollinit(void); -int32 runtime_netpollopen(uintptr, PollDesc*); -int32 runtime_netpollclose(uintptr); -void runtime_netpollready(G**, PollDesc*, int32); -uintptr runtime_netpollfd(PollDesc*); -void runtime_netpollarm(PollDesc*, int32); -void** runtime_netpolluser(PollDesc*); -bool runtime_netpollclosing(PollDesc*); -void runtime_netpolllock(PollDesc*); -void runtime_netpollunlock(PollDesc*); +G* runtime_netpoll(bool) + __asm__ (GOSYM_PREFIX "runtime.netpoll"); void runtime_crash(void); void runtime_parsedebugvars(void) __asm__(GOSYM_PREFIX "runtime.parsedebugvars"); |