Re: ORBit_small_invoke_async issue

michael meeks <[email protected]>
Newsgroups gmane.comp.gnome.orbit.general
Organization Novell, Inc.
Message-ID <[email protected]>
Hi there,

On Wed, 2005-08-24 at 14:03 +0800, KC wrote:
> When I call ORBit_small_invoke_async() from client side,
> the ORBit_small_invoke_async() will return immediately without
> waithing for servant to finish the task, right ?

	Correct. Indeed, it may well return before the message is even sent.

> If my understanding is correct, ORBit_small_invoke_async() simply
> queue the command.   Is it possible to know the command
> already been sent to servant side ?

	Nope - although, if you poke with the (unstable ABI etc.) linc
connection I think you can set buffer limits on the connection so it'll
block at a given stage, and do other stuff - I forget ;-)

>    I don't need to know the exact time, but it will be great if I
> can make sure (from client side) that servant method already running.
> Thanks.

	Best thing to do is prolly to have a small synchronous method that
kicks the job off remotely I guess.

	HTH,

		Michael.

-- 
 [email protected]  <><, Pseudo Engineer, itinerant idiot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.