Questions tagged [pause]

Executing pause operations on application, game or process

Pause key, the Pause/Break key on computer keyboards

pause, a DOS command Stop playing audio or video, with the possibility to continue (in the case of video: with a still image)

The Pause key or symbol on media players

The Perl Authors Upload Server (PAUSE), an interface for uploading Perl modules to the Comprehensive Perl Archive Network

495 questions
35
votes
8 answers

Detect pause/resume in ExoPlayer

I searched two days for this question in github but i can't find true answer . I want example for detecting pause / resume in ExoPlayer > 2.x . Any one can give me an example ? I checked onPlayerStateChanged and problem not solved…
MrNadimi
  • 1,114
  • 3
  • 15
  • 28
30
votes
4 answers

pause vs stop in docker

I am trying to understand what is the difference between the commands docker stop ContainerID and docker pause ContainerID. According to this page both of them are used to pause an existing Docker container.
ibodi
  • 994
  • 2
  • 16
  • 32
17
votes
12 answers

Timing Delays in VBA

I would like a 1 second delay in my code. Below is the code I am trying to make this delay. I think it polls the date and time off the operating system and waits until the times match. I am having an issue with the delay. I think it does not…
Lagg Master
  • 225
  • 1
  • 4
  • 8
13
votes
7 answers

How to make a pause in a procedure and then return value after it?

I'm working on a C# project, want to make a small pause about 2 seconds inside a procedure. Actually I have tried to use Invoke, but as you know, we can't use it inside a class this kind of procedure. Here is my code for more details: public class…
Elahe
  • 1,350
  • 2
  • 17
  • 33
12
votes
7 answers

Add a delay after executing each iteration with forEach loop

Is there an easy way to slow down the iteration in a forEach (with plain javascript)? For example: var items = document.querySelector('.item'); items.forEach(function(el) { // do stuff with el and pause before the next el; });
Kirk Ross
  • 3,907
  • 5
  • 39
  • 67
10
votes
5 answers

How to pause my Java program for 2 seconds

I'm new to Java and making a small game for practice. if (doAllFaceUpCardsMatch == false) { //run pause here// concentration.flipAllCardsFaceDown(); } else { concentration.makeAllFaceUpCardsInvisible(); } I want to pause…
Ethanph89
  • 127
  • 1
  • 1
  • 8
8
votes
2 answers

pause() signal handler

The pause() function blocks until a signal arrives. Assuming the process got a signal and pause() returned, does the signal handler will be executed before the code that follows the pause() call, or the result is unexpected? Example: void…
user3599803
  • 4,641
  • 10
  • 50
  • 95
8
votes
2 answers

How do I pause frame animation using AnimationDrawable?

How do I pause frame animation using AnimationDrawable?
akc
  • 573
  • 2
  • 6
  • 22
7
votes
2 answers

Pause & Resume with Android MediaRecorder (API level < 24)

While using MediaRecorder, we don't have pause/resume for API level below 24. So there can be a way to do this is: On pause event stop the recorder and create the recorded file. And on resume start recording again and create another file and keep…
Nitin Mathur
  • 501
  • 5
  • 16
7
votes
1 answer

Wait 5 seconds in Universal App

I need to make a pause in a Windows 10 UWP App. And the only thing i want is to wait 5 seconds to do the next action. I tried Task. Sleep but then the pressed button was frozen... Pause should be here: loading.IsActive = true; //int period =…
lostluke
  • 145
  • 1
  • 1
  • 13
5
votes
1 answer

G1 GC - Large background I/O causing JVM unresponsive - a 8sec pause

We have a java application which need almost Realtime response. But we are also seeing pauses up to 8sec. Special running condition: In some intervals the application would serialize a huge data snapshot of size up to 1.5G in to the disk (SSD).…
5
votes
2 answers

How to pause debugger in chrome use javascript?

I find script pause debugger in chrome when ctrl shift I or F12. Thank everybody!
justcntt
  • 147
  • 1
  • 12
5
votes
2 answers

"Pausing" A Thread With A Property

I have a TThread object and want to be able to start/stop the thread via a button on the main form of the program. I've been looking into ways to do this and so far I have the following ideas: Terminate and Free the thread when the user clicks stop…
user1970794
  • 223
  • 3
  • 14
5
votes
2 answers

_mm_pause usage in gcc on Intel

I have refered to this webpage : https://software.intel.com/en-us/articles/benefitting-power-and-performance-sleep-loops , the following I can not understand : the pause instruction gives a hint to the processor that the calling thread is in a…
barfatchen
  • 1,426
  • 18
  • 41
4
votes
1 answer

Pause and Continue a Loop When Press Key in Python

Who can help me on this? Pause Countdown when press "P" Key and continue the Countdown when press "S" key. Until now i have this code, but i cant find the way to solve this. Thanks from multiprocessing import Process import keyboard import…
1
2 3
32 33