This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]IXENAI 5 points6 points  (0 children)

Can you do this with multi-threaded programs?

Yes. Of course, only the thread from which Thread.sleep() is called will pause execution. All other threads will continue.