Freddy Martens(deleted)
|
3 questions, 1 about timers, 1 about multi-core and one about timer_timeout
|
Freddy Martens(deleted)
11/29/2007 11:32 AM
post3104
|
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
|
|
|