mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
20 lines
239 B
C++
20 lines
239 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
int alpha;
|
|
|
|
void SecondThread()
|
|
{
|
|
for(;;)
|
|
alpha++;
|
|
}
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
Thread d;
|
|
d.Run(callback(SecondThread));
|
|
PromptOK("test");
|
|
__BREAK__;
|
|
PromptOK("test");
|
|
}
|