Does Vxworks support multiprogramming?

614 views Asked by At

Earlier versions of Vxworks didn't support multiprocessing but I read Vxworks 6.6 and above support SMP (Symmetric multiprocessing).SMP would allow process to run parallel in multiple cores. But does Vxworks support multi-programming? One of the issues with Vxworks was that since whole software is one program, if one thread crash the whole software crash! Is it still the case?

2

There are 2 answers

3
Emut On

I am using Vxworks 6.8 and it supports multiple threads well. Crash in a thread is isolated to it. Crashed thread terminates while others keep their execution.

0
David Holloway On

The answer is Yes. There are several specific answers of Yes. VxWorks 6.x and 7.x have process models (called RTPs) VxWorks 6.6+ and 7.x have SMP. VxWorks 7.x have memory models more like Unix.

VxWorks 6.x and VxWorks 7 both have Posix pthreads and native multiprogramming API including processor affinity API