Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] debug output question


OK, in that case, should I be expecting that any stdout I throw in this callback function (target callback), ORTE will pick it up and send to front? I didn't see any expected processStdOutput event, say with a dummy callback. I am thinking, the target callback output is different from normal job output after all - is that right?

Feiyi


Greg Watson wrote:
You're right. I think you'll need to call MISessionRegisterTargetCallback() to register a callback (in GDBMIStartSession(), line 793 looks like a good place). This callback function should get called from DoOOBStreamCallbacks(), so you shouldn't need to do any of that AsyncCallback stuff.

Greg

On Oct 3, 2007, at 2:36 PM, Feiyi Wang wrote:

A few more questions on your previous email: he DoOOBStreamCallbacks() eventually boils down to:

if (sess-> target_callback != NULL)
    sess -> target_callback(str);




Back to the top