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.

Thread.sleep() implementation

Today I had an interview on which I asked candidate quite usual and basic question about the difference between Thread.…

java multithreading sleep wait
How to reduce waiting time in Selenium2Library Robot Framework

I have a test script in Robot Framework which I want to reduce its elapsed time. I have below command …

wait robotframework selenium2library
wait() function in Ubuntu

I am learning Processes and their behavior in Ubuntu, but I am a bit confused in wait(). So my questions …

c linux ubuntu-10.04 wait waitpid
PHP RabbitMQ setTimeout or other option to stop waiting for queue

I'm required to create a simple queue manager to pass a number from a sender to a consumer. Hello World …

php rabbitmq wait amqp php-amqplib
Java notify() gets called before wait()

Isn't it possible that notify() in another thread gets called before the wait() in one thread? It's happening with me. …

java multithreading wait notify
Creating a wait using getTickCount in Delphi

I am creating a procedure that I need to run then wait 10 minutes before moving on procedure firstTimeRun(const document: …

delphi timer wait gettickcount
Java Monitors: How to know if wait(long timeout) ended by timeout or by Notify()?

First, this is a near duplicate of: How to differentiate when wait(long timeout) exit for notify or timeout? But …

java multithreading wait notify
pywinauto Wait and focus

I'm trying to automate a windows application using pywinauto. I can select the menu and open the "open file window". …

python wait pywinauto
Stop code until a condition is met

How can you create a function or component etc that will stop all running code until a condition is met? …

java conditional-statements wait joptionpane thread-sleep
How to use wait and notify protocol with multiple threads

Specifically, can somebody tell me what is wrong with this piece of code. It should start the threads, so should …

java multithreading synchronization wait notify