git-svn-id: svn://db.shs.com.ru/pip@883 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
14 lines
284 B
C++
14 lines
284 B
C++
#include "pip.h"
|
|
|
|
void test() {
|
|
piCout << "test";
|
|
}
|
|
|
|
int main() {
|
|
PIThread::runOnce([](){ while(1) piCout << "thread1"; });
|
|
PIThread::runOnce([](){ while(1) piCout << "thread2"; });
|
|
PIThread::runOnce([](){ while(1) piCout << "thread3"; });
|
|
piMSleep(1);
|
|
return 0;
|
|
}
|