U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ MT-multithreading and servers » Different native pthread.h implementations
Re: Different native pthread.h implementations [message #30772 is a reply to message #30769] Fri, 21 January 2011 15:52 Go to previous messageGo to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Use same variable in different threads
Next Topic: XmlRpc: possible crash fixed
Goto Forum:
  


Current Time: Sat Sep 12 23:00:44 GMT+2 2026

Total time taken to generate the page: 0.00759 seconds