Does VxWorks support OpenMP?

The crash of the VxWorks Applications Programmer Guide shows that pthreads are supported, but no mention of OpenMP. An older thread on the Wind River Forum also suggests that the OMP flag is disabled by default in the VxWorks gcc compiler. It seems pretty obvious at this point that OpenMP is not supported, but does anyone know if this has changed in recent years? Is pthreads the only way to implement multithreading in VxWorks?

+3


source to share


1 answer


Upon further inspection, it appears that VxWorks does not support OpenMP by default, although some finagling will allow you to enable the -libgomp flag after recompiling the gcc compiler (cannot guarantee Wind River support). The platform used, VxWorks 653 , provides pthread (and other POSIX) APIs through vThreads, the VxWorks multithreaded OS. VThreads itself provides multithreading capabilities and has its own set of libraries. Unfortunately, I was unable to find comprehensive documentation on the vThreads API. This may differ for other VxWorks platforms.



Consider this question.

+3


source







All Articles