Thanks for your answers.

This looks like an important problem to me, looking at the foreseable
future Artificial Vision is going to have a preeminent role everywhere. I
expect machines including CNC controls making some use of it, anv envision
some CNC paradigm changes, leaded by this "revolution".

As from LinuxCNC manual page, it says:

....
DESCRIPTION
hal_create_thread establishes a realtime thread that will execute one or
more HAL functions periodically.
All thread periods are rounded to integer multiples of the hardware timer
period, and the timer period is
based on the first thread created. Threads must be created in order, from
the fastest to the slowest. HAL
assigns decreasing priorities to threads that are created later, so
creating them from fastest to slowest results
in rate monotonic priority scheduling.
...

So it is rate monotonic scheduling.

So I think that the slow task, no matter how slow, will get scheduled. The
only requirement, would be to get the period for the slow thread, big
enough recording and, so that it can finish with the image grabbing
processing.

It would be nice to know, if opencv has been written with real time in
mind, so that memory allocation, pagefaults "et al." works in a compatible
way can be taken away from the show time.

A interesting question would be to know, how well multicore procesors are
taken advantage by LinuxCNC HAL. Let say, can we reserve a couple of
processors ans schedule different threads in different cores?. Would HAL
execute different functions in the same thread at different cores?.


Thanks very much for your answers. I apologize for my late reply :),

Javier
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to