Steve Reid
03/29/2011 2:19 PM
post84381
|
It's filler or space reserved for future use, which is why the documentation doesn't describe it. You can ignore the
contents of it (but if there's garbage there, you might have a problem with corrupted memory).
Steve Reid (stever@qnx.com)
Technical Editor
QNX Software Systems
> -----Original Message-----
> From: Yvette Indovina [mailto:community-noreply@qnx.com]
> Sent: Tuesday, March 29, 2011 2:13 PM
> To: general-community
> Subject: _pulse question
>
> I have a question about the event structure _pulse. What is in the
> “zero” parameter of this structure, please?
> If our system “locks-up” this appears to have garbage in it…
>
> Example:
>
> GOOD:
> (gdb) bt full
> #0 0x01069ed4 in MsgReceive () from
> …/third_party/QNX/qnx640/lib/hh/mx27/libc.so.3
> #1 0x004ed0e4 in HalEventThread::EventThreadMain (this=0x6f6f78) at
> os/bsp/hh/mx27/src/lib/Hal/.objs/hh/mx27/../../../halEventThread.cpp:30
> 5
> event = {type = 0, subtype = 0, code = 0 '\0', zero =
> "\020\000", value = {sival_int = 4, sival_ptr = 0x4}, scoid =
> 1073741832}
> rcvId = <value optimized out>
> __FUNCTION__ = "EventThreadMain"
>
> BAD:
> (gdb) bt full
> #0 0x01069ed4 in MsgReceive () from
> …/third_party/QNX/qnx640/lib/hh/mx27/libc.so.3
> #1 0x004ed0e4 in HalEventThread::EventThreadMain (this=0x6f5480) at
> os/bsp/hh/mx27/src/lib/Hal/.objs/hh/mx27/../../../halEventThread.cpp:30
> 5
> event = {type = 0, subtype = 0, code = 0 '\0', zero = "îîî",
> value = {sival_int = 4, sival_ptr = 0x4}, scoid = 1073741832}
> rcvId = <value optimized out>
> __FUNCTION__ = "EventThreadMain"
>
> Your web page seems to “skip” that description….
> http://www.qnx.com/developers/docs/6.3.2/neutrino/lib_ref/p/_pulse.html
>
> Thanks for any help with this.
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post84380
|
|
|