Questions tagged [pause]

Executing pause operations on application, game or process

Pause refers to a temporary halt in time for some execution of a process.

As an example, the pause command used in DOS will stop playing audio or video, with the possibility to continue in the future (in the case of video: with a still image).

It may also refer to hardware used to initiate a pause such as the Pause/Break key (the secondary function of the PgUp key on some computer keyboards) and the Pause key or symbol on media players.

598 questions
2
votes
1 answer

How to stop drawing line for 1 second and then continue in unity?

I have piece of code that draws line behind the head and I want to stop drawing after every 200 points of line. Head should go further without line for 1 second and then draw again 200 points of line behind the head. using…
salmon
  • 21
  • 5
2
votes
1 answer

Powershell foreach executing after pause

I created a script to read a list of names and translate them to IP by using "Resolve-DnsName". I want users to just double click the script and read the output. cls Write-Host -ForegroundColor Green -BackgroundColor DarkRed " …
markfree
  • 61
  • 6
2
votes
1 answer

Pause and/or resume audio using Python on Linux

thank you for your attention! I want to pause and/or resume audio which is being played at the background using python, found this way, which uses pynput: from pynput.keyboard import Controller, Key c =…
Michael
  • 657
  • 4
  • 29
2
votes
1 answer

Pause/resume a thread in C#

I try to pause all my threads when I reach a certain value but I can't do it. I would like that when I reach this value all threads are paused for 10 seconds and after these 10 seconds all threads start again. I tried that with : Threads.Sleep(); |…
Fanfarone
  • 131
  • 1
  • 7
2
votes
1 answer

Wait for sibling process in C

While I was playing with C, and trying to learn more about processes, forks and wait, I've reached a problem where I'm not able to wait for a sibling process to finish until I can continue. So, here's the problem: #include #include…
2
votes
2 answers

How to modify a component's property in a function?

I'm trying to learn react and how to use third party components, what I'm trying to do now is to use the component that I installed from https://www.npmjs.com/package/react-native-countdown-component objective: The Countdown component has a "Props"…
Robson
  • 916
  • 5
  • 22
2
votes
1 answer

How can i pause a function till a response comes back and state is set

I am running a function that has an API call that brings back a response that I use to set the state and then triggers another function which uses the state that has just been updated. the problem the second function is running before response comes…
2
votes
1 answer

How to pause a AWS step function and resume it?

I have a state machine (AWS Step function). I invoke it from java code either to start or stop. How do I pause a state machine and resume it back.
Chetan
  • 4,735
  • 8
  • 48
  • 57
2
votes
0 answers

Pause on Hover for Infinitie Horizontal Carousel

Found an infinite horizontal carousel I like but need to find an alternative to animation-play-state (not working on iOS) for pause on hover. I'm not familiar enough with JavaScript to piece together other resources I've found, so I'd really…
Garrett
  • 21
  • 2
2
votes
1 answer

How to pause message processing for a certain period?

We use Apache Camel in Talend ESB Studio v6.4 In an ESB route, we consume JMS messages, process them then send them to an HTTP server. But that target server is down for maintainance every saturday from 6pm to 10pm. How can we "pause" message…
Loko
  • 120
  • 9
2
votes
2 answers

How do I write a small gap in networkstream?

I have a server that sends telemetry data of varying size to receivers, or as I'll call them, clients, via NetworkStream. I aim for maximum speed, so I want minimal delays. The frequency is uncontrolled, so I'd like to use an infinite loop in my…
GZoltan
  • 23
  • 5
2
votes
1 answer

Set Pause option to Javascript Countdown Timer script

I'am creating a countdown timer.So this is the my code so far. function countdownTimeStart() { var el = document.getElementById('demo'); var cancel = document.getElementById('cancel'); /* Start count the time in timer panel */ var time =…
Chathuri Fernando
  • 950
  • 3
  • 11
  • 22
2
votes
0 answers

How to continue when Python in Pycharm executes a command line process waiting on pause

I am using PyCharm to debug a piece of python code. The python code executes a command line exe file which we wrote. The exe program initially paused because it waits on a keypress, so we can attach the process for debug purpose. When we run in…
Splash
  • 1,288
  • 2
  • 18
  • 36
2
votes
1 answer

Do threads continue executing when a signal arrives?

I'm writing a multi-threaded program in C, where the main() changes the behavior of some signals and then spawns more threads. The question is: do the other threads continue executing when a signal arrives, or do they pause and resume execution when…
27C256
  • 23
  • 4
2
votes
1 answer

Is it possible to create an interactive notepad within batch script that saves users input

I'm in the process of creating a mini-game using batch and one of the useful tool ideas was to have an interactive notepad so that users could store information throughout the game and refer back to it later. So far I have created the option to goto…
K0D3-BLU3
  • 31
  • 2