Re: oaf async activation



Maciej Stachowiak <mjs eazel com> writes:

> > I think a simpler fix would just be to get glib loop iterations made while
> > ORBit is inside an operation invocation. It should be about a one-line
> > patch to get this in. It should accomplish the desired effect without
> > having to complicate OAF.
> 
> Actually, calling an inferior event loop while you are in the middle
> of something is _extremely_ dangerous. The context you return to could
> have been completely invalidated by random user operations. This way
> you would need to be _extremely_ paranoid and check objects for
> validity, re-check assertions, etc or you will get mysterious crashes.

Note that ORBit allows incoming calls while waiting for
an outgoing operation, so please take care of thinking about
reentrancy when making outgoing calls in servers.

Regards,
                                        Owen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]