mirror of https://github.com/GNOME/gimp.git
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:
parent
15620f36b2
commit
ea44e43f07
|
@ -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>
|
2006-08-23 Bill Skaggs <weskaggs@primate.ucdavis.edu>
|
||||||
|
|
||||||
* app/tools/tools-enums.h
|
* app/tools/tools-enums.h
|
||||||
|
|
8
INSTALL
8
INSTALL
|
@ -168,12 +168,8 @@ These are:
|
||||||
their API references so that the libgimp reference can link to
|
their API references so that the libgimp reference can link to
|
||||||
them.
|
them.
|
||||||
|
|
||||||
--enable-mp. This options control whether to build GIMP with or without
|
--disable-mp. This option allows you to disable support for multiple
|
||||||
support for multiple processors. This option is off by default. If
|
processors. It is enabled by default.
|
||||||
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.
|
|
||||||
|
|
||||||
--with-sendmail=[PATH]. This option is used to tell GIMP where to find
|
--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
|
the sendmail command. Normally this options don't have to be used
|
||||||
|
|
|
@ -64,14 +64,6 @@ static TileList dirty_list = { NULL, NULL };
|
||||||
|
|
||||||
#ifdef ENABLE_MP
|
#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;
|
static GStaticMutex tile_cache_mutex = G_STATIC_MUTEX_INIT;
|
||||||
|
|
||||||
#define CACHE_LOCK g_static_mutex_lock (&tile_cache_mutex)
|
#define CACHE_LOCK g_static_mutex_lock (&tile_cache_mutex)
|
||||||
|
@ -85,6 +77,19 @@ static GStaticMutex tile_cache_mutex = G_STATIC_MUTEX_INIT;
|
||||||
#endif
|
#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
|
void
|
||||||
tile_cache_init (gulong tile_cache_size)
|
tile_cache_init (gulong tile_cache_size)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue