Commit 369a4a40 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

enable support for multiple processors by default. Hyperthreading and

2005-02-11  Sven Neumann  <sven@gimp.org>

	* configure.in: enable support for multiple processors by default.
	Hyperthreading and multicore CPUs are becoming common and we
	should try to give this as much testing as possible.

	* app/config/gimpbaseconfig.c: use two processors by default. Also
	increased default tile-cache-size to 256MB.
parent 68ed0fc1
2005-02-11 Sven Neumann <sven@gimp.org>
* configure.in: enable support for multiple processors by default.
Hyperthreading and multicore CPUs are becoming common and we
should try to give this as much testing as possible.
* app/config/gimpbaseconfig.c: use two processors by default. Also
increased default tile-cache-size to 256MB.
2005-02-11 Sven Neumann <sven@gimp.org>
* app/widgets/gimptoolbox.c (toolbox_paste_received): drop
......
......@@ -111,16 +111,17 @@ gimp_base_config_class_init (GimpBaseConfigClass *klass)
"${gimp_dir}",
GIMP_CONFIG_PARAM_RESTART);
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_STINGY_MEMORY_USE,
"stingy-memory-use", STINGY_MEMORY_USE_BLURB,
"stingy-memory-use",
STINGY_MEMORY_USE_BLURB,
FALSE,
GIMP_CONFIG_PARAM_RESTART);
GIMP_CONFIG_INSTALL_PROP_UINT (object_class, PROP_NUM_PROCESSORS,
"num-processors", NUM_PROCESSORS_BLURB,
1, 30, 1,
1, 16, 2,
0);
GIMP_CONFIG_INSTALL_PROP_MEMSIZE (object_class, PROP_TILE_CACHE_SIZE,
"tile-cache-size", TILE_CACHE_SIZE_BLURB,
0, GIMP_MAX_MEMSIZE, 1 << 27, /* 128MB */
0, GIMP_MAX_MEMSIZE, 1 << 28, /* 256MB */
GIMP_CONFIG_PARAM_CONFIRM);
}
......
......@@ -818,8 +818,8 @@ AC_SUBST(GIMP_THREAD_FLAGS)
AC_SUBST(GIMP_THREAD_LIBS)
AC_ARG_ENABLE(mp, [ --enable-mp support multiple processors (default=no)])
if test "x$enable_mp" = "xyes"; then
AC_ARG_ENABLE(mp, [ --enable-mp support multiple processors (default=yes)])
if test "x$enable_mp" != "xno"; then
AC_CHECK_LIB(pthread, pthread_attr_init,
[AC_DEFINE(ENABLE_MP, 1,
[Define to 1 to enable support for multiple processors.])
......
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