[go-nuts] interaction between runtime scheduler and Cgo calls

2020-03-06 Thread Dan Kortschak
This sort of follows on from the EINTR discussion a while back, but was prompted by a claim in the gophers #general slack channel that "the Go scheduler will actively try to interrupt CGO calls that take too long"[1]. This doesn't seem right to me, but I wanted to confirm from people who know (als

Re: [go-nuts] interaction between runtime scheduler and Cgo calls

2020-03-06 Thread Ian Lance Taylor
On Fri, Mar 6, 2020 at 1:40 PM Dan Kortschak wrote: > > This sort of follows on from the EINTR discussion a while back, but was > prompted by a claim in the gophers #general slack channel that "the Go > scheduler will actively try to interrupt CGO calls that take too > long"[1]. > > This doesn't s

Re: [go-nuts] interaction between runtime scheduler and Cgo calls

2020-03-06 Thread Dan Kortschak
Thanks, Ian. On Fri, 2020-03-06 at 14:01 -0800, Ian Lance Taylor wrote: > On Fri, Mar 6, 2020 at 1:40 PM Dan Kortschak > wrote: > > > > This sort of follows on from the EINTR discussion a while back, but > > was > > prompted by a claim in the gophers #general slack channel that "the > > Go > > s