commit | 517823592f49f08a71d20213696e822f00c17a2b | [log] [tgz] |
---|---|---|
author | David Crawshaw <crawshaw@golang.org> | Fri Sep 22 22:15:41 2017 -0400 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Wed Apr 18 23:37:33 2018 +0000 |
tree | 9c4a7d4cf670a07bfeed857d2b7cfd923cfd3a23 | |
parent | 2214453ad6cb75eb1fc8477606c26a170b810aa7 [diff] |
zxwait: a zircon port waiter compatible with goroutines This package provides 'Wait' function that is equivalent to calling the WaitOne method on a zx.Handle. The goroutine that calls 'Wait' parks the worker thread so it won't waste the OS thread. Currently 'Wait' only supports TimensecInfinited for timeout. NET-721 #progress Change-Id: I20118309df0dc7a55b1e7144999d05b8f2564de9
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
For documentation about how to install and use Go, visit https://golang.org/ or load doc/install-source.html in your web browser.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Go is the work of hundreds of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
If you have just untarred a binary Go distribution, you need to set the environment variable $GOROOT to the full path of the go directory (the one containing this file). You can omit the variable if you unpack it into /usr/local/go, or if you rebuild from sources by running all.bash (see doc/install-source.html). You should also add the Go binary directory $GOROOT/bin to your shell's path.
For example, if you extracted the tar file into $HOME/go, you might put the following in your .profile:
export GOROOT=$HOME/go export PATH=$PATH:$GOROOT/bin
See https://golang.org/doc/install or doc/install.html for more details.