aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/runtime.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2016-10-18 14:38:29 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2016-10-18 14:38:29 +0000
commit812ba636c7b12f2c503e34aaf9e2da50d5777b82 (patch)
treec81659977f9a532c5d4b53872301ba5e67c4166f /libgo/runtime/runtime.h
parentf5de494c59532fdad30097af4185b2ce74700984 (diff)
downloadgcc-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.h17
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");