7.6.16: Unterschied zwischen den Versionen

Aus BC-Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „''' 7x''' * client: show "wrong URL - reattach" message as a notice. * client: remove CLIENT_STATE destructor; causes crash on Win. There's no reason…“)
 
Keine Bearbeitungszusammenfassung
 
Zeile 3: Zeile 3:
* client: show "wrong URL - reattach" message as a notice.
* client: show "wrong URL - reattach" message as a notice.
* client: remove CLIENT_STATE destructor; causes crash on Win. There's no reason to destruct anything; we're exiting.
* client: remove CLIENT_STATE destructor; causes crash on Win. There's no reason to destruct anything; we're exiting.
* client: add config option to not lower client priority.
* client: add config option to not lower client priority. We added code a couple of months ago to lower client priority: on Win, this is SetPriorityClass(), which lowers I/O and memory priority as well as CPU. This has the desired effect, i.e. to reduce the performance impact of BOINC when it's doing things like copying large files. However, it means that BOINC can take a long time to start at boot, which may be disconcerting to some users.
** We added code a couple of months ago to lower client priority: on Win, this is SetPriorityClass(), which lowers I/O and memory priority as well as CPU. This has the desired effect, i.e. to reduce the performance impact of BOINC when it's doing things like copying large files. However, it means that BOINC can take a long time to start at boot, which may be disconcerting to some users.
* MRG: fix crashing bug. Don't do fprintf(stdout, msg). If msg contains %, this will crash. Instead do fprintf(stdout, "%s", msg).
* MRG: fix crashing bug. Don't do fprintf(stdout, msg). If msg contains %, this will crash. Instead do fprintf(stdout, "%s", msg).
* client, Win: use SetThreadPriority() to lower client priority. We had used SetPriorityClass() for this purpose, but apparently this is too extreme, and causes the client to run very slowly; see http://stackoverflow.com/questions/13631644/setthreadpriority-and-setpriorityclass
* client, Win: use SetThreadPriority() to lower client priority. We had used SetPriorityClass() for this purpose, but apparently this is too extreme, and causes the client to run very slowly; see http://stackoverflow.com/questions/13631644/setthreadpriority-and-setpriorityclass

Aktuelle Version vom 27. November 2015, 23:12 Uhr

7x

  • client: show "wrong URL - reattach" message as a notice.
  • client: remove CLIENT_STATE destructor; causes crash on Win. There's no reason to destruct anything; we're exiting.
  • client: add config option to not lower client priority. We added code a couple of months ago to lower client priority: on Win, this is SetPriorityClass(), which lowers I/O and memory priority as well as CPU. This has the desired effect, i.e. to reduce the performance impact of BOINC when it's doing things like copying large files. However, it means that BOINC can take a long time to start at boot, which may be disconcerting to some users.
  • MRG: fix crashing bug. Don't do fprintf(stdout, msg). If msg contains %, this will crash. Instead do fprintf(stdout, "%s", msg).
  • client, Win: use SetThreadPriority() to lower client priority. We had used SetPriorityClass() for this purpose, but apparently this is too extreme, and causes the client to run very slowly; see http://stackoverflow.com/questions/13631644/setthreadpriority-and-setpriorityclass
  • MGR: show zero time intervals as --- rather than 00:00:00.
  • MGR: tweaks in task properties.
  • MGR: prevent resource leak
  • MGR: make sure strings are null terminated