[PATCH] Run postinstall scripts in a thread with progress bars - take 3
Robert Collins
rbcollins@cygwin.com
Tue Mar 25 10:29:00 GMT 2003
+ for (i = packages.begin (); i != packages.end (); ++i)
+ {
+ packagemeta & pkg = **i;
+ for_each (pkg.installed.scripts().begin(),
pkg.installed.scripts().end(),
+ RunScript(pkg.name, pkg.installed.scripts().size()));
+ ++k;
+ Progress.SetBar2 (k, numpkg);
+ }
I was thinking that this would be part of RunScript - you've taken the
innermost aspect of it's operation.. I was thinking it would be a little
bit more encompassing - thus the run method.
Hmm, I'm not sure that this can be done cleanly just now though, so...
Max, can you please check this in?
Cheers,
Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20030325/aa2d2bc3/attachment.sig>
More information about the Cygwin-apps
mailing list