Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - 3 questions, 1 about timers, 1 about multi-core and one about timer_timeout: Page 1 of 9 (9 Items)
   
3 questions, 1 about timers, 1 about multi-core and one about timer_timeout  
Hi all,

I have 3 specific questions and I hope I ask them in the proper forum.

1) Is the Intel HPET supported in QNX ? Or will it be?
2) Why do you need to specify a timeout in nanoseconds in TimerTimeout when the timeout occurs on a 'tick'?
3) When working with multi-core, you can use ThreadCtl(_NTO_TCTL_RUNMASK) to set the runmask for a certain thread. You 
can do this at the begin of a thread. This might look inefficient. Another way to prevent this is the solution given in 
http://qssl.com/developers/docs/6.3.0SP3/multicore_en/user_guide/how_to.html?printable=1#IMPACT . Wouldn't it be nicer 
to do this somewhere in the pthread_attr_t? This might make your code more readable. What if you want to assign specific
 threads to specific CPU's, and I don't want to use the ThreadCtl(_NTO_TCTL_RUNMASK) approach at the beginning of the 
thread, how do I use the  inherit mask then. Do I need to change it after each thread creation?

Regards,
Freddy