Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » Thread::GetId() returning 0
Re: Thread::GetId() returning 0 [message #50187 is a reply to message #50172] Mon, 20 August 2018 08:51 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
mdelfede wrote on Sat, 11 August 2018 01:17
Thank you, already solved... OS is Linux, but I guess it was my mistake, using = on IDs instead of pthread_equal.

Ciao

Massimo


Well, AFAIK pthread_equal should actually only make portable the code for unlikely case when pthread_t is structure. Are you sure it is the issue?

I am asking because this is really weird.... I expect == to work.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Feature request - GetPeerAddr in WebSocket
Next Topic: [SOLVED] Discord bot 404 error using WebSocket, any ideas?
Goto Forum:
  


Current Time: Tue Apr 23 09:33:22 CEST 2024

Total time taken to generate the page: 0.02899 seconds