knowledge-database (beta)

Current group: comp.soft-sys.ace

RE: [ace-users] Stream Task member calls not working

RE: [ace-users] Stream Task member calls not working  
David Hawkins
From:David Hawkins
Subject:RE: [ace-users] Stream Task member calls not working
Date:21 Jan 2005 20:22:33 -0600


Hi,

I thought perhaps that the Task::open() call might be
occurring before the module had setup the back-pointer
to the module, so I modified my test case to add a
Task::put() method that printed out similar info:

The test code is here:

http://www.ovro.caltech.edu/~dwh/ace/simple_stream2.cpp

and its output

http://www.ovro.caltech.edu/~dwh/ace/simple_stream2.txt


When the put method gets triggered, the output:

Task: put()
Task: WRITER
Task: we are NOT setup in a module()
Task: is_writer() is true
Task: error module name is not set
Task: sibling is not set

Indicates that the task does not think it is setup as
a module.

Weird!?

Dave
   

Copyright © 2006 knowledge-database   -   All rights reserved