Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

usage of localtime may not be thread safe #347

Closed
zaphoyd opened this issue Apr 4, 2014 · 0 comments
Closed

usage of localtime may not be thread safe #347

zaphoyd opened this issue Apr 4, 2014 · 0 comments

Comments

@zaphoyd
Copy link
Owner

zaphoyd commented Apr 4, 2014

The basic logging policy uses localtime to generate timestamps. This function is cross platform but not thread safe. WebSocket++ locks its own access to localtime, but this does not prevent conflicts between WebSocket++ and the user of the library.

Need to look into alternate thread safe and cross platform ways of getting timestamps

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant