]> Cypherpunks repositories - gostls13.git/commit
runtime: idle goroutine
authorRuss Cox <rsc@golang.org>
Mon, 28 Feb 2011 04:32:42 +0000 (23:32 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 28 Feb 2011 04:32:42 +0000 (23:32 -0500)
commit582fd17e11a25f7e1410a5e1dc9057b409f9b4e9
tree3d532dd29960e7ea3b2465534f379932dc7be97b
parentfdbbb066ed86a08c39ac6195548054435406b60d
runtime: idle goroutine

This functionality might be used in environments
where programs are limited to a single thread,
to simulate a select-driven network server.  It is
not exposed via the standard runtime API.

R=r, r2
CC=golang-dev
https://golang.org/cl/4254041
src/pkg/runtime/proc.c
src/pkg/runtime/runtime.h