5.8.9

Aus BC-Wiki
Version vom 11. April 2007, 19:46 Uhr von Rebirther (Diskussion | Beiträge) (Die Seite wurde neu angelegt: * core client: tweak DCF update computation * core client: fix bug where client thinks an app is running but it isn't. Basic problem: there are two layers 1) process ...)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen
  • core client: tweak DCF update computation
  • core client: fix bug where client thinks an app is running but it isn't. Basic problem: there are two layers

1) process control: start/stop/suspend/resume, handle exits. files: app_*.C It owns ACTIVE_TASK::task_state

2) CPU scheduling: decide what should run files: cpu_sched.C It owns ACTIVE_TASK::scheduler_state. These layers weren't cleanly separated; e.g. the CPU sched layer relied on the process control layer to set scheduler_state in some cases, and this wasn't always being done. The layers are now separated. Also: added new task_state value, PROCESS_QUIT_PENDING

  • core client: small tweak to DCF calculation
  • core client: print message if task finishes and output file is missing
  • manager: compile fix