Re: libgo patch RFA: Export {enter,exit}syscall

2012-03-15 Thread Ian Lance Taylor
On Tue, Mar 13, 2012 at 4:01 PM, Ian Lance Taylor wrote: > The cooperative threading model used by Go works by calling entersyscall > whenever we are about to make a call to a C function that may block. > That was not being done for a call to getaddrinfo used when doing a DNS > lookup.  This patch

libgo patch RFA: Export {enter,exit}syscall

2012-03-13 Thread Ian Lance Taylor
The cooperative threading model used by Go works by calling entersyscall whenever we are about to make a call to a C function that may block. That was not being done for a call to getaddrinfo used when doing a DNS lookup. This patch fixes that problem by exporting the entersyscall and exitsyscall