We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
By reviewing the code after successfully using it for months, it looks like a race condition in output would be possible:
n
fmt.Println
log.Println is concurrency-safe but writes to std err.
log.Println
The text was updated successfully, but these errors were encountered:
Uses channel to sequentialise output. #6
23f2b97
No branches or pull requests
By reviewing the code after successfully using it for months, it looks like a race condition in output would be possible:
n
goroutines run in parallel and issuefmt.Println
statements. Those are not concurrency-safe: http://stackoverflow.com/questions/14694088/is-it-safe-for-more-than-one-goroutine-to-print-to-stdoutlog.Println
is concurrency-safe but writes to std err.The text was updated successfully, but these errors were encountered: