[Ace-users] Obtaining a facet executor from its component reference
sanntosn at lycos.com
Mon Aug 13 12:05:38 CDT 2007
Sorry to send this to this list but my previous message to CIAO list
was not delivered.
CIAO VERSION: 0.5.9
TAO VERSION : 1.5.9
ACE VERSION : 5.5.9
HOST MACHINE and OPERATING SYSTEM:
If on Windows based OS's, which version of WINSOCK do you
use?: Pentium IV, Debian linix kernel 2.6
TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
COMPILER NAME AND VERSION (AND PATCHLEVEL):
THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
specific file, simply state which one]:#include "ace/config-
THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
use a link to a platform-specific file, simply state which one
(unless this isn't used in this case, e.g., with Microsoft Visual
CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/
(used by MPC when you generate your own makefiles): There is no
[What example failed? What module failed to compile?]
DOES THE PROBLEM AFFECT:
If so, what do your $ACE_ROOT/ace/config.h and
On Unix systems, did you run make realclean first?
OTHER (please specify)?
[Please indicate whether ACE/TAO/CIAO, your application, or both are
SYNOPSIS: Obtaining a facet executor from its component reference or
[Brief description of the problem]
[Detailed description of problem. Don't just say "
doesn't work, here's a fix," explain what your program does
to get to the state. ]
I declared a mutex in one of my executor facets and I need to acquire
a lock on the mutex in another facet method but I don't know how to
have access to another facet executor of the same component. I have
the method ReceiverFacet_exec_i::get_lock() and need to call it from
NotifyFacet_exec_i::notify(). Both facets belong to the same
component. I know I can navigate through the facets if I have the
component reference, but is it possible to obtain the facet executors
from the component reference or component executor?
Thank you very much.
[What you did to get the error; include test program or session
transcript if at all possible. ]
[If available ]
More information about the Ace-users