This patch copies the channel implementation from the master Go library
to the gccgo library.  This is a followon patch to the earlier change to
multiplex goroutines onto threads.  With this patch channels now use the
goroutine scheduler directly, rather than taking up a thread by using a
condition variable.  This required changing the runtime calls that the
compiler generates for select statements.  Bootstrapped and ran Go
testsuite on x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

Attachment: foo.patch.bz2
Description: patch

Reply via email to