Re: BgAction and FlistUnseenFoldersInit

Chris Garrigues <[email protected]> Tue, 01 Mar 2005 11:44:20 -0600
Newsgroups gmane.mail.exmh.devel
Message-ID <[email protected]>
> From:  Chris Garrigues <[email protected]>
> Date:  Thu, 17 Feb 2005 17:09:34 -0600
>
> It's bugged me for years that I have to restart exmh before flist sees new 
> mail in newly created folders.  It appears that the issue is that 
> "BgAction FlistUnseenFoldersInit FlistUnseenFoldersInit" doesn't do anything.
> 
> I don't understand the background processing very well, but I'm thinking that 
> when flist(unseenfolders) is set, it's done in the wrong process?  Does the 
> lappend need to be wrapped in a BgRPC call or does the whole proc just need to 
> be called in the foreground?
> 
> Am I understanding correctly that BgAction causes something to run in the 
> background and BgRPC causes someeting to run in the foreground?
> 
> Would it be possible to put some comments in background.tcl describing the contract 
> of these procs and what can and can't be done in the background?

I decided to change the call to FlistUnseenFolders so that it runs in the 
foreground because I couldn't figure out how to make it run correctly in the 
background and, at least on my system, it doesn't seem to take much time 
anyway.

I'd still like some API documentation on the background/foreground stuff.

Chris

-- 
Chris Garrigues                         Trinsic Solutions
President                               1611-B West 6th Street
                                        Austin, TX  78703-5074

512-322-0180                            http://www.trinsics.com

                 Would you rather proactively pay for
                uptime or reactively pay for downtime?

                          Trinsic Solutions
                 Your Proactive IT Management Partner

_______________________________________________
Exmh-workers mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/exmh-workers
signature.asc (application/pgp-signature, 235 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Exmh version 2.2_20000822 06/23/2000

iD8DBQFCJKn0K9b4h5R0IUIRAre6AKCMoMDtj3iSg/CjT626NyF7aoKnhwCfXpi9
bwhvvIEQlhYK64I2wELTBCI=
=zjg8
-----END PGP SIGNATURE-----