A customer wants to run my application on vxw6.7 SMP.
My App runs fine on vxw6.7, but loading the first of some binary gives
ld (0,0,"lcoos.bin") & 0
0x212b010 (tShell0): Module <lcoos.bin> has unresolved sym <taskVarAdd>
0x212b010 (tShell0): Module <lcoos.bin> has unresolved sym <taskVarDelete>
0x212b010 (tShell0): Module <lcoos.bin> has unresolved sym <taskLock>
0x212b010 (tShell0): Module <lcoos.bin> has unresolved sym <taskUnlock>
What are the alternatives in vxw6.7 ?
Any ideas?
--
mit freundlichen Grüßen
mario semo
I found something about the taskVarLib :
\vxworks-6.7\man\cat1\taskVarLib.1"
ROUTINES
taskVarInit() - initialize the task variables facility
taskVarAdd() - add a task variable to a task
taskVarDelete() - remove a task variable from a task
taskVarGet() - get the value of a task variable
taskVarSet() - set the value of a task variable
taskVarInfo() - get a list of task variables of a task
....
SMP CONSIDERATIONS
This library is not available in VxWorks SMP. Use __thread variables
instead.
What about __thread vars? Where can i find something about this?
See http://gcc.gnu.org/onlinedocs/gcc-4.2.4/gcc/Thread_002dLocal.html
--
PAD