mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.reference
git-svn-id: svn://ultimatepp.org/upp/trunk@14286 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ad20f1cc76
commit
5498a666ee
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ GUI_APP_MAIN
|
||||||
CoDo([&] {
|
CoDo([&] {
|
||||||
for(int i = ii++; i < 100; i = ii++) {
|
for(int i = ii++; i < 100; i = ii++) {
|
||||||
for(int q = 0; q < 1000; q++) {
|
for(int q = 0; q < 1000; q++) {
|
||||||
if(pi.Canceled()) // ideally call canceled every 1-10ms
|
if(pi.Canceled()) // ideally call Canceled every 1-10ms
|
||||||
return;
|
return;
|
||||||
Sleep(1); // work simulation
|
Sleep(1); // work simulation
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue