add semaphore to cga_stream + use it in demos
This commit is contained in:
@ -11,6 +11,7 @@ void print(bse::Vector<int> list) {
|
||||
void VectorDemo::run() {
|
||||
bse::Vector<int> list;
|
||||
|
||||
kout.lock();
|
||||
kout.clear();
|
||||
kout << "Initial list size: " << dec << list.size() << endl;
|
||||
|
||||
@ -102,5 +103,6 @@ void VectorDemo::run() {
|
||||
kout << "List contains element: " << dec << i << endl;
|
||||
}
|
||||
|
||||
kout.unlock();
|
||||
scheduler.exit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user