Re: work_pending/perform_work
- From: dthompson characterlink net (Darrin Thompson)
- To: orbit-list gnome org
- Subject: Re: work_pending/perform_work
- Date: Fri, 01 Sep 2000 17:12:20 GMT
Perl worked for me. This little snippet from the ORBit perl bindings is
kind of interesting... Would this work in C?
SV *
work_pending (self)
CORBA::ORB self
CODE:
RETVAL = newSVsv(g_main_pending() ? &PL_sv_yes : &PL_sv_no);
OUTPUT:
RETVAL
void
perform_work (self)
CORBA::ORB self
CODE:
g_main_iteration(TRUE); /* Is the FALSE here correct? */
Darrin
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 9/1/00, 1:59:55 AM, <jiva@devware.com> wrote regarding
work_pending/perform_work:
> I just discovered that work_pending and perform_work don't seem to be
> implemented in ORBit at this time. What does one do if I need to let
> my program continue to run on it's own while checking corba on
> occaision? Fork then do a corba_run? Is there a more graceful
> method? How do the perl bindings for ORBit support this while the C
> bindings don't?
> --
> Everything I like is either illegal, immoral or fattening.
> -- Alexander Woollcott
> _______________________________________________
> orbit-list mailing list
> orbit-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/orbit-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]