17 Jun 2012 10:17
Single threaded app are locks and mutexes required?
I am porting nodejs app to go Nodejs app runs on a single thread and there is no synchronization required I can't understand how atomic Goroutines are ? Can context be switched when I access map or only when I access os io or lock or channel ? Can I avoid excessive Locking with go if app would be single threaded? Thank you Max
RSS Feed