add semaphore to cga_stream + use it in demos
This commit is contained in:
@ -5,6 +5,7 @@ void ArrayDemo::run() {
|
||||
bse::Array<int, 10> arr2 {};
|
||||
bse::Array<Thread*, 10> arr3 {};
|
||||
|
||||
kout.lock();
|
||||
kout.clear();
|
||||
|
||||
kout << "Adding..." << endl;
|
||||
@ -35,5 +36,6 @@ void ArrayDemo::run() {
|
||||
|
||||
// arr1.swap(arr3); // Not possible as type/size has to match
|
||||
|
||||
kout.unlock();
|
||||
scheduler.exit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user