Re: Updating the contents of a treemodel from another thread.



> 
> Any ideas on how to keep that get_next_thumb() function from accessing
> the queue in a thread safe manner?
> 

Doh.. I had forgotten to unlock the mutex after a cond_.wait(mutex_);

Everything works :)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]