From-SVN: r181964
From-SVN: r180552
Calls to library functions now use entersyscall and exitsyscall as appropriate. This is a first step toward multiplexing goroutines onto threads. From-SVN: r180345
From-SVN: r173931