Re: examples/thread_usage.pl
- From: muppet <scott asofyet org>
- To: Ross McFarland <rwmcfa1 neces com>
- Cc: Gtk-Perl-List <gtk-perl-list gnome org>
- Subject: Re: examples/thread_usage.pl
- Date: Sun, 11 Jan 2004 13:19:57 -0500
On Sunday, January 11, 2004, at 01:03 PM, Ross McFarland wrote:
i meant to change that and never did. originally i was looking for a
lower priority, but didn't see how that was set at first glance, and my
breakfast was done cooking so i gave up. it was knocked out rather
quickly.
hehe... for those playing along at home, here's the entry from the
Glib::MainLoop manpage:
integer = Glib::Idle->add ($callback, $data=undef,
$priority=G_PRIOR-
ITY_DEFAULT_IDLE)
o $callback (subroutine)
o $data (scalar)
o $priority (integer)
Run $callback when the mainloop is idle. If $callback
returns
false, it will uninstall itself, otherwise, it will run
again at
the next idle iteration. Returns a source id which may be
used
with "Glib::Source->remove".
i notice that this doesn't mention what $priority is... basically, a
higher number is a lower priority. the details are
http://developer.gnome.org/doc/API/2.0/glib/glib-The-Main-Event-
Loop.html#G-PRIORITY-DEFAULT-IDLE-CAPS
--
elysse (pregnant): are your hands cold?
me: uh, i suppose so.
elysse: will you put them on me?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]