Skip to content

Commit

Permalink
fixed sizes of scoped memories
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalohlava committed Nov 24, 2010
1 parent 02c9f6f commit 4c07a3c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ public ScopedMemoryRealtimePeriodicTask(Runnable targetRunnable, SchedulingParam

@Override
public void run() {
// allocate scope - FIXME the sizes
ScopedMemory scopedMemory = new LTMemory(2000,16000000);
// allocate scope - FIXME the sizes should be passed by ctor
ScopedMemory scopedMemory = new LTMemory(1024,2048);

// FIXME handle the missed periods
while (true) {
do {
scopedMemory.enter(targetRunnable);
Expand Down

0 comments on commit 4c07a3c

Please sign in to comment.