Whatsapp the difference between calling a funcionar like that;
go anyroutine()
And
anyroutine()
Whatsapp the difference between calling a funcionar like that;
go anyroutine()
And
anyroutine()
This runs anyrountine()
in a new goroutine.
This runs anyrountine()
in the current goroutine.
Something like a parallel thread?
Goroutines are like lightweight user space threads. They are similar to the idea of coroutines, but we call them goroutines.
There is an entry in the tour about Go’s concurrency features. Check it out.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.