update
This commit is contained in:
@ -13,7 +13,6 @@
|
|||||||
#include "devices/CGA_Stream.h"
|
#include "devices/CGA_Stream.h"
|
||||||
#include "devices/Keyboard.h"
|
#include "devices/Keyboard.h"
|
||||||
#include "devices/PCSPK.h"
|
#include "devices/PCSPK.h"
|
||||||
#include "kernel/Allocator.h"
|
|
||||||
#include "kernel/allocator/BumpAllocator.h"
|
#include "kernel/allocator/BumpAllocator.h"
|
||||||
#include "kernel/allocator/LinkedListAllocator.h"
|
#include "kernel/allocator/LinkedListAllocator.h"
|
||||||
#include "kernel/allocator/TreeAllocator.h"
|
#include "kernel/allocator/TreeAllocator.h"
|
||||||
|
|||||||
@ -25,7 +25,7 @@ void CoroutineLoop::run() {
|
|||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
while (true) {
|
while (true) {
|
||||||
kout.setpos(0, 20 + this->id);
|
kout.setpos(0, 21 + this->id);
|
||||||
kout << "Corout[" << this->id << "]: " << i++ << endl;
|
kout << "Corout[" << this->id << "]: " << i++ << endl;
|
||||||
|
|
||||||
this->switchToNext();
|
this->switchToNext();
|
||||||
|
|||||||
Reference in New Issue
Block a user