On Tue, 15 Feb 2005 16:29:00 -0500, Nathan Summers <[EMAIL PROTECTED]> wrote:
>
>   if (g_thread_pool_get_num_threads(synch->pool) == 1)

correction: I meant if (g_thread_pool_get_num_threads(synch->pool) == 1 && 
                               g_thread_pool_unprocessed(synch->pool) == 0)

although the first test is sufficient if n(tasks) >= n(threads)

Rockwalrus
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer

Reply via email to