Re: [go-nuts] Go routine as realtime thread without preemption?

2023-01-23 Thread Ian Lance Taylor
On Sun, Jan 22, 2023 at 11:48 PM TheDiveO wrote: > > > On Sunday, January 22, 2023 at 12:18:34 AM UTC+1 Ian Lance Taylor wrote: > > Using runtime.LockOSThread does not exempt the goroutine from GOMAXPROCS. > > I was asking to elaborate more on this previous answer of yours, as I >

Re: [go-nuts] Go routine as realtime thread without preemption?

2023-01-22 Thread TheDiveO
> On Sunday, January 22, 2023 at 12:18:34 AM UTC+1 Ian Lance Taylor wrote: > Using runtime.LockOSThread does not exempt the goroutine from GOMAXPROCS. I was asking to elaborate more on this previous answer of yours, as I don'tunderstand yet how GOMAXPROCS relates to (preemptive?) go routine

Re: [go-nuts] Go routine as realtime thread without preemption?

2023-01-22 Thread Ian Lance Taylor
On Sun, Jan 22, 2023 at 9:17 AM TheDiveO wrote: > > On Sunday, January 22, 2023 at 12:18:34 AM UTC+1 Ian Lance Taylor wrote: > Using runtime.LockOSThread does not exempt the goroutine from GOMAXPROCS. > > Hi Ian, thank you very much for your answer! I'm afraid that I do not yet > understand (due

Re: [go-nuts] Go routine as realtime thread without preemption?

2023-01-22 Thread TheDiveO
On Sunday, January 22, 2023 at 12:18:34 AM UTC+1 Ian Lance Taylor wrote: Using runtime.LockOSThread does not exempt the goroutine from GOMAXPROCS. Hi Ian, thank you very much for your answer! I'm afraid that I do not yet understand (due to my limited runtime knowledge) how to conclude from

Re: [go-nuts] Go routine as realtime thread without preemption?

2023-01-21 Thread Ian Lance Taylor
On Sat, Jan 21, 2023 at 2:06 PM TheDiveO wrote: > > When a go routine gets locked to an OS thread, does the Go runtime scheduler > then stops interrupting this Go routine, so when this Go routine (or rather > the thread) gets pinned to an exclusive CPU core can make use of real time >

[go-nuts] Go routine as realtime thread without preemption?

2023-01-21 Thread TheDiveO
When a go routine gets locked to an OS thread, does the Go runtime scheduler then stops interrupting this Go routine, so when this Go routine (or rather the thread) gets pinned to an exclusive CPU core can make use of real time priorities? -- You received this message because you are