What is go routine in go? How you can stop go routine?
Answer Posted / Surya Kant
A Go routine is a lightweight thread managed by the Go runtime. It is used to execute concurrent tasks in Go. To stop a Go routine, you can use the built-in function panic() to cause the routine to exit abruptly or use channels to communicate between routines and signal the termination of one routine from another.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category