Would it be reasonable to make a Go proposal that adds something like 
runtime.MainThread(), which would cause the calling goroutine to only ever 
be scheduled on the main thread? Unlike runtime.LockOSThread, it would not 
need to prevent other goroutines from running on the main thread (I think).

-- 
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/5f514e84-f23c-45ad-b45a-3ab78230f1dc%40googlegroups.com.

Reply via email to