Re: [go-nuts] Command stuck when using net/rpc & exec.Command

2021-11-21 Thread 宇晗杨
Got it. I found that I forgot to add `time.Sleep` in `main()` function so there would be some schedule problem, now I fix the problem. Thanks. On Sat, Nov 20, 2021 at 10:31 AM Kurtis Rader wrote: > On Fri, Nov 19, 2021 at 8:30 AM ChrisFisher > wrote: > >> Hey Guys, I want to do a micro benchmar

Re: [go-nuts] Command stuck when using net/rpc & exec.Command

2021-11-19 Thread Kurtis Rader
On Fri, Nov 19, 2021 at 8:30 AM ChrisFisher wrote: > Hey Guys, I want to do a micro benchmark, and I have one master machine > and one worker machine. The master machine sends out rpcs concurrently to > the worker, and after the worker receive the rpc, it starts to do some > commands using exec.C