From dde65419d15985875240364f0140a1db995c25ed Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 13 Jun 2007 16:42:36 +0000 Subject: [PATCH] - wrapper: set thread priority of worker processes to IDLE class (Win); set prior of worker processes to PROCESS_IDLE_PRIORITY (Unix) uppercase/ upper_case.C wrapper/ wrapper.C svn path=/trunk/boinc_samples/; revision=12927 --- checkin_notes | 9 +++++++++ uppercase/upper_case.C | 8 -------- wrapper/wrapper.C | 2 ++ 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/checkin_notes b/checkin_notes index 0266e133c4..be11f4b66b 100644 --- a/checkin_notes +++ b/checkin_notes @@ -374,3 +374,12 @@ David 8 June 2007 uc2.C,h uc2_graphics.C +David 13 June 2007 + - wrapper: set thread priority of worker processes + to IDLE class (Win); + set prior of worker processes to PROCESS_IDLE_PRIORITY (Unix) + + uppercase/ + upper_case.C + wrapper/ + wrapper.C diff --git a/uppercase/upper_case.C b/uppercase/upper_case.C index ecad4033cf..8e81189d7d 100755 --- a/uppercase/upper_case.C +++ b/uppercase/upper_case.C @@ -229,14 +229,6 @@ int main(int argc, char **argv) { int i; int retval = 0; - boinc_init_diagnostics( - BOINC_DIAG_DUMPCALLSTACKENABLED | - BOINC_DIAG_HEAPCHECKENABLED | - BOINC_DIAG_MEMORYLEAKCHECKENABLED | - BOINC_DIAG_TRACETOSTDERR | - BOINC_DIAG_REDIRECTSTDERR - ); - for (i=0; i