Home » U++ Library support » U++ MT-multithreading and servers » Different native pthread.h implementations
Re: Different native pthread.h implementations [message #30778 is a reply to message #30772] |
Sat, 22 January 2011 10:42   |
|
Sender Ghost wrote on Fri, 21 January 2011 16:52 |
mirek wrote on Fri, 21 January 2011 15:16 |
Would 'uintptr_t' work for you?
Mirek
|
Yes, it compiles on FreeBSD.
uintptr_t tid = (uintptr_t)Thread::GetCurrentId();
Thanks.
|
Maybe:
Thread::Id tid = Thread::GetCurrentId();
?
|
|
|
Goto Forum:
Current Time: Sun Jul 06 09:04:43 CEST 2025
Total time taken to generate the page: 0.03469 seconds
|