Quote:
Originally Posted by Joohoo
I was perusing through the standard include files and I found one of my old friends the pthread.h file. Now I know that vxworks is POSIX compliant. But does any one know if it is possible to create a multi threaded program to run on the crio? Has anyone else noticed this? Is any one looking to use this functionality to their advantage?
|
vxWorks 6.3 is fairly POSIX compliant, and does support pthreads.
Whether or not can use them depends on how the kernel was configured.
Since the configuration of the kernel we're stuck with is largely unknown and must be guessed at, I can't say.
Beware looking for symbols that might indicate this or that is configured into the kernel though.
Object files are sometimes linked in the kernel even if the kernel features that module supports are not configured.
So, using nm or some such, you might find that pthread_create is 'in' the kernel yet it won't work right because the kernel is not properly configured.
I do wish the good folks at WPI would give us a way to know the kernel configuration -- even better, give us the BSP so we can build our own kernels.