On Sun, Jan 22, 2023 at 9:17 AM TheDiveO <harald.albre...@gmx.net> 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 to my limited runtime knowledge) how to conclude from > GOMAXPROCS that LockOSThread does not exclude locked go routine. Yet I'm > intrigued to learn more, so can you please elaborate more?
I'm sorry, I don't understand your question. Your original question was whether the Go runtime will interrupt a thread for which a goroutine has called runtime.LockOSThread. The answer to that question is yes. I don't know what you mean when you say that LockOSThread does not exclude a locked goroutine. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXonZ%2Bh%2Bg44piO9GoHR7WS1Y_Vipezv0FVck-yideLKig%40mail.gmail.com.