1997-09-01
1997-09-01 14:20:19 by Per Hedbor <ph@opera.com>
-
72290dbb46a21ea71f448e366c490a85c1e5f39a
(9 lines)
(+5/-4)
[
Show
| Annotate
]
Branch: 5.2
The 'number of shuffle threads' message is now hidden.
Rev: server/base_server/roxen.pike:1.119
1:
- constant cvs_version = "$Id: roxen.pike,v 1.118 1997/09/01 01:01:39 per Exp $";
+ constant cvs_version = "$Id: roxen.pike,v 1.119 1997/09/01 14:20:19 per Exp $";
#define IN_ROXEN
#include <roxen.h>
#include <config.h>
1596: Inside #if defined(THREADS)
#ifdef THREADS
globvar("numshufflethreads", 1,
- "Number of shuffler threads to run", TYPE_INT,
+ "Number of shuffler threads to run", TYPE_INT|VAR_EXPERT,
"The number of simultaneous threads roxen will use "
"to shuffle data, using a select loop based system.\n"
"<i>This is quite useful if you have more than one CPU in "
2104: Inside #if defined(THREADS)
report_notice("Using threads");
if (QUERY(numshufflethreads) <= 1) {
QUERY(numshufflethreads) = 1;
- perror("Starting 1 thread to shuffle data.\n");
+ // perror("Starting 1 thread to shuffle data.\n");
} else {
- perror("Starting "+QUERY(numshufflethreads)+" threads to shuffle data.\n");
+ // perror("Starting "+QUERY(numshufflethreads)+" threads to shuffle data.\n");
}
for(int i = number_of_shuffler_threads; i < QUERY(numshufflethreads); i++) {
thread_create( shuffle_thread, i );