Re: [go-nuts] Runtime threads/OS thread scheduling

2018-09-17 Thread Scott Cotton
Thanks all, Indeed useful. Will continue exploring the "it's hard to say" part on golang-dev, as that might be useful as well. Best, Scott On 17 September 2018 at 20:43, robert engels wrote: > Then it should be fairly trivial to call cgo to raise the priority of the > ‘audio thread/routine

Re: [go-nuts] Runtime threads/OS thread scheduling

2018-09-17 Thread robert engels
Then it should be fairly trivial to call cgo to raise the priority of the ‘audio thread/routine after call runtime,LockOSthread() - nice ! > On Sep 17, 2018, at 1:36 PM, Ian Lance Taylor wrote: > > On Mon, Sep 17, 2018 at 10:39 AM, Scott Cotton wrote: >> >> Wanted to ask about the Go runtime

Re: [go-nuts] Runtime threads/OS thread scheduling

2018-09-17 Thread Ian Lance Taylor
On Mon, Sep 17, 2018 at 10:39 AM, Scott Cotton wrote: > > Wanted to ask about the Go runtime use of threads. Specifically, suppose > I've got an app in mind that would run OS-priveleged and use specially > scheduled threads, like SCHED_RR in linux for example. > > One could do this with chrt or

[go-nuts] Runtime threads/OS thread scheduling

2018-09-17 Thread Scott Cotton
Hi all, Wanted to ask about the Go runtime use of threads. Specifically, suppose I've got an app in mind that would run OS-priveleged and use specially scheduled threads, like SCHED_RR in linux for example. One could do this with chrt or calling from a process/thread at the desired