| |
|
|
| dev.thread.sleep ( long ms )
keeps whom Hauptthread for ms Millisekunden on, where dev.thread.sleep 1000 a second wait.
deference: integrally like with windows has then the program too no Time for Show. in example go too Print-expenses first outputted if the Hauptthread How idle is and accordingly too print "Hallo Welt" with anschließendem dev.thread.sleep 5000 The Print-spending first to 5 sec shows.
who a Proc zeitversetzt perform would like ought to rather The function time(proc,ms) use.
Keywords: sleep |
|
|
| |
|
|
|
| there it for these function momentarily little sinnvolle usage gives, is tappt im dunkeln to dev.thread.sleep abgewandert. |
|
|
| |
|
|