[ace-users] use of ACE_HAS_REACTOR_NOTIFICATION_QUEUE in Select Reactor

Premkumar P kumaran.prem at gmail.com
Mon Aug 6 11:54:43 CDT 2007


hi,
i have a question on Select Reactor implementation so using a minimal PRF

    ACE VERSION: 5.5.10

    HOST MACHINE and OPERATING SYSTEM: Solaris 10 - X86
        If on Windows based OS's, which version of WINSOCK do you
        use?:

    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]: enable-ipv6, IPV4_IPV6_MIGRATION

    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
    C++)]:

    CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
    (used by MPC when you generate your own makefiles):

    AREA/CLASS/EXAMPLE AFFECTED:
[What example failed?  What module failed to compile?] none

    DOES THE PROBLEM AFFECT:
        COMPILATION? none
        LINKING? none
            On Unix systems, did you run make realclean first?
        EXECUTION? none
        OTHER (please specify)?
[Please indicate whether ACE, your application, or both are affected.]

    SYNOPSIS:
[Brief description of the problem]

    DESCRIPTION:
[Detailed description of problem.  Don't just say "<blah>
doesn't work, here's a fix," explain what your program does
to get to the <blah> state. ]

    REPEAT BY:
[What you did to get the error; include test program or session
transcript if at all possible.  ]

    SAMPLE FIX/WORKAROUND:
[If available ]


Question: what is the use of ACE_HAS_REACTOR_NOTIFICATION_QUEUE in Select
Reactor, calling schedule_timer (from a different thread - not the reactor
thread of execution)
seams to create a dead-lock at times (when the reactor does not have any
events to process). I didn't face this problem when i compiled ACE enabling
this macro (i didnt know why i really used this in first place!!!) ... just
want to make sure what is the real use of the macro.

thankx in advance

regards,
prem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20070806/64952308/attachment.htm


More information about the Ace-users mailing list