What is the difference between C.sleep() and time.Sleep()? Technology Community › Category: Golang › What is the difference between C.sleep() and time.Sleep()? 0 Vote Up Vote Down VietMX Staff asked 4 years ago C.sleep() invokes syscall sleep, which causes idle threads time.Sleep() is optimized for goroutine so syscall sleep is not involved.