Re: [go-nuts] Asynchronous preemption

2020-09-07 Thread Yonatan Gizachew
Got it. Thank you! On Saturday, September 5, 2020 at 12:01:03 PM UTC+9 Ian Lance Taylor wrote: > On Wed, Sep 2, 2020 at 9:11 PM Yonatan Gizachew wrote: > > > > I see. If that is so, what is the job of sysmon thread? > > The sysmon thread is not related to asynchronous preemption. The > sysmon th

Re: [go-nuts] Asynchronous preemption

2020-09-04 Thread Ian Lance Taylor
On Wed, Sep 2, 2020 at 9:11 PM Yonatan Gizachew wrote: > > I see. If that is so, what is the job of sysmon thread? The sysmon thread is not related to asynchronous preemption. The sysmon thread does a few different things. One of the things it does is notice threads that have been stuck in a sy

Re: [go-nuts] Asynchronous preemption

2020-09-02 Thread Yonatan Gizachew
I see. If that is so, what is the job of sysmon thread? On Thursday, September 3, 2020 at 12:35:26 PM UTC+9 Ian Lance Taylor wrote: > On Wed, Sep 2, 2020 at 7:14 PM Yonatan Gizachew wrote: > > > > Is it possible to stop the asynchronous preemption like: > > GODEBUG=asyncpreemptoff=1 go build -o

Re: [go-nuts] Asynchronous preemption

2020-09-02 Thread Yonatan Gizachew
Ok, thanks for the clarification. On Thu, Sep 3, 2020, 11:27 AM Kurtis Rader wrote: > On Wed, Sep 2, 2020 at 7:14 PM Yonatan Gizachew wrote: > >> Is it possible to stop the asynchronous preemption like: >> GODEBUG=asyncpreemptoff=1 go build -o libgotest.so -buildmode=c-shared >> -compiler=gccgo

Re: [go-nuts] Asynchronous preemption

2020-09-02 Thread Ian Lance Taylor
On Wed, Sep 2, 2020 at 7:14 PM Yonatan Gizachew wrote: > > Is it possible to stop the asynchronous preemption like: > GODEBUG=asyncpreemptoff=1 go build -o libgotest.so -buildmode=c-shared > -compiler=gccgo test.go > > I am using gccgo compiler. Note that executables built by the gccgo compiler

Re: [go-nuts] Asynchronous preemption

2020-09-02 Thread Kurtis Rader
On Wed, Sep 2, 2020 at 7:14 PM Yonatan Gizachew wrote: > Is it possible to stop the asynchronous preemption like: > GODEBUG=asyncpreemptoff=1 go build -o libgotest.so -buildmode=c-shared > -compiler=gccgo test.go > > I am using gccgo compiler. > Yes, although that will only disable async preempt

[go-nuts] Asynchronous preemption

2020-09-02 Thread Yonatan Gizachew
Is it possible to stop the asynchronous preemption like: GODEBUG=asyncpreemptoff=1 go build -o libgotest.so -buildmode=c-shared -compiler=gccgo test.go I am using gccgo compiler. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe f