mention that multi-processor support is on by default.

2006-08-24  Sven Neumann  <sven@gimp.org>

	* INSTALL: mention that multi-processor support is on by
default.

	* app/base/tile-cache.c: fixed compilation if multi-processor
	support is disabled (bug #352609).
This commit is contained in:
Sven Neumann 2006-08-24 06:31:11 +00:00 committed by Sven Neumann
parent 15620f36b2
commit ea44e43f07
3 changed files with 25 additions and 17 deletions

View File

@ -1,3 +1,10 @@
2006-08-24 Sven Neumann <sven@gimp.org>
* INSTALL: mention that multi-processor support is on by default.
* app/base/tile-cache.c: fixed compilation if multi-processor
support is disabled (bug #352609).
2006-08-23 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/tools-enums.h

View File

@ -168,12 +168,8 @@ These are:
their API references so that the libgimp reference can link to
them.
--enable-mp. This options control whether to build GIMP with or without
support for multiple processors. This option is off by default. If
you do have multiply processors and run GIMP with an OS supporting
them you will like to enable this features to use all of your
horsepower. Enabling it on singleprocessor systems won't harm but
cause a bit processing overhead.
--disable-mp. This option allows you to disable support for multiple
processors. It is enabled by default.
--with-sendmail=[PATH]. This option is used to tell GIMP where to find
the sendmail command. Normally this options don't have to be used

View File

@ -64,14 +64,6 @@ static TileList dirty_list = { NULL, NULL };
#ifdef ENABLE_MP
#ifdef ENABLE_THREADED_TILE_SWAPPER
static GThread *preswap_thread = NULL;
static GMutex *dirty_mutex = NULL;
static GCond *dirty_signal = NULL;
#else
static guint idle_swapper = 0;
#endif
static GStaticMutex tile_cache_mutex = G_STATIC_MUTEX_INIT;
#define CACHE_LOCK g_static_mutex_lock (&tile_cache_mutex)
@ -85,6 +77,19 @@ static GStaticMutex tile_cache_mutex = G_STATIC_MUTEX_INIT;
#endif
#ifdef ENABLE_THREADED_TILE_SWAPPER
static GThread *preswap_thread = NULL;
static GMutex *dirty_mutex = NULL;
static GCond *dirty_signal = NULL;
#else
static guint idle_swapper = 0;
#endif
void
tile_cache_init (gulong tile_cache_size)
{