How to check if go routine is using fibers or user-mode scheduling in windows from the source code of go?

I am thinking how go implements the feature of “user space thread”.
I would appreciate if anyone can tell me how to verify that from the go source code.
I doubt that go is calling UMS in windows, however I am not able to find any string “UMS” in go source code.
And UMS is only supported on 64bit windows, what for those 32bit windows?

Best Regards,
Moon

I think Go always uses system threads (on Windows, via os._CreateThread[1]), and then multiplexes several goroutines on the (dynamic) pool of system threads.

[1] https://golang.org/src/runtime/os_windows.go

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.