dufault at hda.com
Mon Jul 30 11:24:50 UTC 2012
On Jul 29, 2012, at 14:32 , m.shahverdi wrote:
> I have a problem with multithreading in RTEMS. my application consists of two threads that should be executed concurrently but when second thread is made it doesn't run! in all of RTEMS thread samples one of the threads should wait or sleep to run the other thread but in my apps two threads exactly should be executed concurrently.
> so what should I do?
Are you talking about time-slicing the CPU so that the two threads appear to be executed concurrently on a single computing resource? That's an unusual requirement in a real-time system that I've never needed, but RTEMS apparently supports it:
If you're talking about real multi-processing on a multi-core processor then you'll need to research the state of the RTEMS multiprocessor support.
HD Associates, Inc. Software and System Engineering
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users