grantila / q

A platform-independent promise library for C++, implementing asynchronous continuations.
http://libq.io
Apache License 2.0
192 stars 24 forks source link

Fix compilation on FreeBSD systems #11

Closed Rogiel closed 7 years ago

Rogiel commented 7 years ago

FreeBSD does not allow getting thread names (but allows setting it). Uses a thread_local workaround similar to the one on the Windows platform.

Also, there was a parameter miss match on stacktrace_default.cpp which prevented compilation.