netpoll_stub.c 583 B

123456789101112131415161718192021222324252627
  1. // Copyright 2013 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // +build plan9
  5. #include "runtime.h"
  6. #include "malloc.h"
  7. // Polls for ready network connections.
  8. // Returns list of goroutines that become runnable.
  9. G*
  10. runtime_netpoll(bool block)
  11. {
  12. // Implementation for platforms that do not support
  13. // integrated network poller.
  14. USED(block);
  15. return nil;
  16. }
  17. void
  18. runtime_netpoll_scan(struct Workbuf** wbufp, void (*enqueue1)(struct Workbuf**, Obj))
  19. {
  20. USED(wbufp);
  21. USED(addroot);
  22. }