Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: GetCurrentThreadId

$
0
0
There is a lot of function like pthread_<...>_np(). But such function are not portable and not Unix-compliant.
Also Ubuntu have a "FreeBSD glue" package and etc.

According to answers on StackOverflow and googling it is seems that above reinterpret casts is solution in a uniform way on Linux and BSD.
On Debian and GCC 4.9 all tests are green.

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>