[omniORB] Sleeping current thread

Matthew Berry mberry@mweb.co.za
Mon, 28 Aug 2000 10:44:43 +0200


Hi,

I have a server function in my implementation class that creates two (omni)
threads. I want the current thread to yield until either of the other two
have returned a result/error.  Is there a way to get a pointer to the
omni_thread object in which the server is running?

The "sub-threads" each call a different CORBA object and I want to return
from the main thread as soon as I can if an error occurs and not have to
wait for the other thread to complete.

Thanks
Matthew Berry