Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

vxw6.7 SMP + taskVar*, taskLock,....

200 views
Skip to first unread message

news.aon.at

unread,
Mar 2, 2011, 9:02:12 AM3/2/11
to
Hello,

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

news.aon.at

unread,
Mar 2, 2011, 11:00:28 AM3/2/11
to
>
> 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>
>

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?

PAD

unread,
Mar 4, 2011, 7:37:59 PM3/4/11
to
[...]

> 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

0 new messages