Replace g_thread by g_thread_pool
commitee2f3c09788862612219acd93cec3d8d619cc7d1
authorjocelyn <jocelyn+git@yggdras.dyndns.org>
Thu, 5 Mar 2009 20:45:58 +0000 (5 21:45 +0100)
committerjocelyn <jocelyn+git@yggdras.dyndns.org>
Thu, 5 Mar 2009 21:27:31 +0000 (5 22:27 +0100)
tree43988ff4e95691488d32fcd8ef691887c8a38951
parent8d54c5224c1b16988f4b0b8604435e9e18dc083c
Replace g_thread by g_thread_pool

All g_thread are replaced by a single g_thread_pool, which gives the ability to
easily limit the number of running threads, and will make it possible to wait
for all threads to finish correctly before exisiting viking.
src/background.c
src/background.h
src/vikmapslayer.c