-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Sat, 25 May 2002 12:09:23 -0400 Source: mooix Binary: mooix Architecture: sparc Version: 0.3.0.7.0 Distribution: unstable Urgency: low Maintainer: Debian/sparc Build Daemon <[EMAIL PROTECTED]> Changed-By: Joey Hess <[EMAIL PROTECTED]> Description: mooix - Unix is the moo. Changes: mooix (0.3.0.7.0) unstable; urgency=low . * I finally figured out why backgrounded perl methods were failing when communicating with methods they invoked. It looks like it has to do with the requirement that stdin and stdout be closed by those method causing fd 0 and 1 to be free, which conflicts with some code in Mooix::Thing that fiddles with stdin and stdout. Another partial cause is a bug in perl (or in perl's interaction with libmooproxy). When I work around that bug (by making Mooix::Thing _readfield explicitly close a lexically scoped filehandle before returning), backgrounded inherited methods begin to a bit better work. But the real fix was to open /dev/null for stdin and stdout when backgrounding a method. * Added a little background method to Mooix::Thing that takes care of making a method fork to the background. * Made the wind up duck demo object waddle in the background. * Parts of throwing a ball happen in the background. * Updated the programmer's tutorial. * Made the shutdown and startup methods of init run all registered methods in the background (they get a short grace period on shutdown before the whole moo goes down). * Added a register method to init that ojects can use to add themselves to the startup and shutdown lists. * Made heartbeat->startup background each method in its startuplist, so long-running methods don't delay moo startup. * Oops, init needs to be the owner of its startuplist and shutdownlist; had to hack mooupgrade to it, and bump the db version. Files: 4c3a1978c99252f33c4db41be0bb6f2a 280628 misc optional mooix_0.3.0.7.0_sparc.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.6 <http://mailcrypt.sourceforge.net/>
iEYEARECAAYFAjzwwEgACgkQgD/uEicUG7CaAwCfSc6ZQWBhloVhqQ0hX1JpF0Uy nYsAn3yJKZnYkbcA7MyhcHxRsJJhem1V =UaIG -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]