
4 Dec
2011
4 Dec
'11
11:48 p.m.
On Sun, Dec 4, 2011 at 11:40 PM, Vicente J. Botet Escriba <vicente.botet@wanadoo.fr> wrote:
typedef std::vector<registered_waiter>::size_type count_type; count_type count; boost::scoped_array<boost::unique_lock<boost::mutex> > locks; std::vector<registered_waiter> futures;
// ... for(count_type i=0;i<count;++i) {
locks[i]=boost::unique_lock<boost::mutex>(futures[i].future->mutex); }
The question is how count_type must be defined so that we don't have portable issues.
Is this still an issue with 1.48? Can't reproduce. Olaf