droyo / styx

Go library for the 9P filesystem protocol
MIT License
64 stars 18 forks source link

DONOTPULL: marzhall - remove gothread spinoff to point out synchronicity issue. #19

Closed marzhall closed 4 years ago

marzhall commented 4 years ago

Using as an example for a workaround in an issue. Information to come in the issue.

marzhall commented 4 years ago

This is example code that shows making handleTread synchronous seems to avoid a race condition that causes messages to be answered with the wrong tag. The relevant issue is in #20

droyo commented 4 years ago

Closing as the issue demonstrated was resolved (#20)