- Add CairoElements
- Start code for double buffering in custom widgets, using an off-screen pixmap. Problem: we don't know the height from the beginning git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@798 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
5b22b503a5
commit
25e5a7319b
6 changed files with 296 additions and 34 deletions
|
@ -212,7 +212,7 @@ Scheduler::step_forward(History& history, Policy& cpu_policy) throw(UserInterrup
|
|||
// should be done here as the first thing, instead than
|
||||
// directly after selecting them
|
||||
if(current.get_total_cpu_time() - current.get_elapsed_time() > 0)
|
||||
running_thread->decrease_remaining_time();
|
||||
current.decrease_remaining_time();
|
||||
|
||||
// 2. mark threads that used all their allotted time as terminated
|
||||
if(current.get_total_cpu_time() - current.get_elapsed_time() == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue