[omniORB] Win32 Question

Duncan Grisby dgrisby@uk.research.att.com
Fri, 04 Jun 1999 14:12:31 +0100


On Friday 4 June, "Steven W. Brenneis" wrote:

[...]

> Also, you have made a single, non-blocking call to the BOA's
> impl_is_ready in the OnInitDialog member function.  This will provide a
> single pass through the dispatcher if there is an RPC invocation
> waiting.  In order to process further RPC's you will have to make other
> non-blocking calls to impl_is_ready or you will have to have a single
> blocking call somewhere.  Using the blocking call in an MFC application

This is not true -- a (non-portable) call to impl_is_ready(0,1) will
not block, but will start other threads which service requests. You
never need to call impl_is_ready(0,1) more than once. This is
explained in section 2.7.2 of the omniORB manual.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --