Top "Wait" questions

In programming, 'wait' refers to the act of pausing the execution of a program until a specific condition is met or a given amount of time has passed.

Delay or Wait-For Statement

I have a 500,000 line SQL script: update users set region_id = 9814746 where id = 101 and region_id is null; update users …

postgresql wait sleep
DoEvents, Waiting, and Editing

I have a set of code that contains: Application.Wait (Now + TimeValue("4:00:00")) This is essentially pausing the macro for a …

vba user-controls wait doevents
Powershell Start Process, Wait with Timeout, Kill and Get Exit Code

I want to repeatedly execute a program in a loop. Sometimes, the program crashes, so I want to kill it …

powershell wait exit-code start-process
Blackberry - Loading/Wait screen with animation

Is there a way to show "Loading" screen with animation in blackberry? Options: PME animation content multithreading + set of images + …

user-interface blackberry java-me loading wait
ProcessBuilder and Process.waitFor(), how long does it wait?

I am executing an .exe-file from java, using the ProcessBuilder class and the Process class. To explain what I am …

java process console wait processbuilder
Python threading: will Event.set() really notify every waiting thread

If I have a threading.Event and the following two lines of code: event.set() event.clear() and I have …

python multithreading events wait
How to force main Acivity to wait for subactivity in Android?

I am calling a subactivity from main activity. This subactivity should take few numbers from user (i'm using Edit text …

android android-activity blocking wait subactivity
Why are wait() and notify() declared in Java's Object class?

Why are the wait() and notify() methods declared in the Object class, rather than the Thread class?

java multithreading wait notify
Waiting in PowerShell for all child processes to finish

I want to execute multiple external scripts in PowerShell simultaneously and then wait for all of them to finish before …

powershell process wait
MVVM Wait Cursor how to set the.wait cursor during invocation of a command?

Scenario: User clicks a button on the View This invokes a command on the ViewModel, DoProcessing How, and where does …

wpf mvvm cursor wait