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

error 3d0002

361 views
Skip to first unread message

reddy

unread,
Aug 2, 2005, 12:28:59 PM8/2/05
to
Hi,

i am using ppc405 with vxWorks os on my target board .i am using
message que of size 200 instead of netjobadd to speed up packet
processing . this is done so that the processing of packets is done by
stack in a seperate task which is of higher priority 2 in my custom
bsp.after running my application for sometime which communicates with
pcs on lan and some other custom target boards,
i get errno 3d0002. can anyone tell why this error is occuring.


regards,
reddy

Jamie

unread,
Aug 10, 2005, 10:27:25 AM8/10/05
to
An errno set on a task doesn't indicate an unhandled error condition.

Example: attempting to write to a device that isn't initialized will
result in 0x3d0002 or S_objLib_OBJ_UNAVAILABLE, but ERROR isn't
returned by the calling API. This is because the calling API handled
the error condition...

A general rule of thumb is only look at errno when your application
detects an error case...otherwise the result of the errno has been
handled.

FYI, if you want to know what errno X is, run printErrno from the
shell....ensure you have the error status table included in your build.

-> printErrno 0x3d0002
S_objLib_OBJ_UNAVAILABLE

Jamie

0 new messages