mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
18 lines
238 B
C++
18 lines
238 B
C++
#include <Core/Core.h>
|
|
|
|
using namespace Upp;
|
|
|
|
void SomeThread()
|
|
{
|
|
String h('x', 200);
|
|
Thread::Exit();
|
|
ASSERT(0);
|
|
}
|
|
|
|
CONSOLE_APP_MAIN
|
|
{
|
|
Thread t;
|
|
t.Start([] { SomeThread(); });
|
|
t.Wait();
|
|
LOG("------------- OK");
|
|
}
|