Commit ea44e43f authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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).
parent 15620f36
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
......
......@@ -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
......
......@@ -64,23 +64,28 @@ 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;
static GStaticMutex tile_cache_mutex = G_STATIC_MUTEX_INIT;
#define CACHE_LOCK g_static_mutex_lock (&tile_cache_mutex)
#define CACHE_UNLOCK g_static_mutex_unlock (&tile_cache_mutex)
#else
static guint idle_swapper = 0;
#define CACHE_LOCK /* nothing */
#define CACHE_UNLOCK /* nothing */
#endif
static GStaticMutex tile_cache_mutex = G_STATIC_MUTEX_INIT;
#define CACHE_LOCK g_static_mutex_lock (&tile_cache_mutex)
#define CACHE_UNLOCK g_static_mutex_unlock (&tile_cache_mutex)
#ifdef ENABLE_THREADED_TILE_SWAPPER
static GThread *preswap_thread = NULL;
static GMutex *dirty_mutex = NULL;
static GCond *dirty_signal = NULL;
#else
#define CACHE_LOCK /* nothing */
#define CACHE_UNLOCK /* nothing */
static guint idle_swapper = 0;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment