since evio run in it's event loop, when Data event happen ,we may run another goroutine for long time processing, when the result is ready, how to write the result to the Conn?
is Conn.Wake safe for calling from another goroutine?
what is the best way for this type operation?
thanks for any help.
since evio run in it's event loop, when Data event happen ,we may run another goroutine for long time processing, when the result is ready, how to write the result to the Conn? is Conn.Wake safe for calling from another goroutine?
what is the best way for this type operation? thanks for any help.