$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Doug Gregor (dgregor_at_[hidden])
Date: 2006-06-27 09:29:27
On Jun 21, 2006, at 1:58 PM, Levent Yilmaz wrote:
>
> // create a progress_display that does nothing for non root nodes
> int total_run = 100;
> boost::progress_display pg( i_am_root ? total_run :
> pg::DUMMY_DISPLAY );
> // Then operator++() will output only from some root process.
> for (int i=0; i!=total_run; pg++);
Yes, this would be useful. It should be relatively easy to implement:
perhaps you'd like to work up a patch with code+documentation updates?
Doug