Questions tagged [pausing-execution]
61 questions
0
votes
2 answers
How to pause Python while Tkinter window is open?
I'm writing a program that sometimes encounters an error. When it does, it pops up a Tkinter dialog asking the user whether to continue. It's a more complicated version of this:
keep_going = False
KeepGoingPrompt(keep_going)
if not keep_going:
…

jefdaj
- 2,025
- 2
- 21
- 33
0
votes
0 answers
Multi-threading Indy IdHTTP requests. Performance consideration issues
My application queries 7 marketplaces in a row using Indy HTTP client. All marketplaces provide a unified interface to request/response. That said, the structure of request/response is the same for all 7 marketplaces.
I submit GTIN to a MainForm's…

Interface Unknown
- 713
- 10
- 26
0
votes
1 answer
How to pause ffmpeg than runs without window?
I'm working on a video converter and I wanted to be able to stop or pause ffmpeg by pressing a button. Googleing I have found a way but it's not working. basically I Start ffmpeg on a background worker in this way:
Private Sub bw_DoWork(ByVal sender…

Zed Machine
- 67
- 1
- 10
0
votes
1 answer
How to pause program for some seconds
I am making a program in python (Tkinter) and somehow I am stuck between some confusion.
I want to pause my program execution for some seconds, and also the execution pauses but not at correct time.
My program looks like this:
from Tkinter import…

Shubhank Tyagi
- 134
- 1
- 3
- 12
0
votes
1 answer
xProc - Pausing a pipeline and continue it when certain event occurs
I'm fairly new to xProc and xPath, but I've been asked to solve the following problem:
Step 2 receives data via the secondary port from step 1. Step 2 contains a p:for-each, which saves a document into a folder for each element that passes the…

Aya Void
- 1
- 3
0
votes
2 answers
Pausing a game with ActionScript 2
I'm making a game where the player must avoid random falling objects. I dont know how to implement pausing. I've been stuck on this for 2 days!
I tried using gotoAndPlay and such, but the objects continue to run in the background. When I resume the…

user3132527
- 5
- 3
0
votes
0 answers
Pausing my game issue in ActionScript 3
In my game I'm trying to add a Pause function, pressing P key. It works but the problem is that if the mouse stands still and I press P key, nothing happens but while I move the mouse it fastly works. to resume there is no problem. How can I fix…

user3161756
- 73
- 1
- 2
- 10
0
votes
1 answer
Pausing a program
I'm working with JFrame, and I have a while loop. Inside that while loop I change the background of the frame to black then white, and have it do it again. However, I need it to pause for a second or two in between changing so you can actually see…

DanZaMan
- 7
- 2
0
votes
2 answers
Python: intercommunication between shells
A Python program is running on a shell, how to communicate with it using another Python shell?
Let say we have started running a very long simulation which is going well on a shell. We realised a need to capture the current values, say, in a numpy…

Developer
- 8,258
- 8
- 49
- 58
0
votes
1 answer
Pause one thread from other in python
I was looking how to do a multithread (2 threads) in python.
I want one of them is reading the serial port constantly. reading every frame and saving them to a database. I already have done a script to do this.
For the second one, I want it to…

Biribu
- 3,615
- 13
- 43
- 79
0
votes
1 answer
Pausing Music in JFugue
I am working on a program that plays music in the background via multithreading, because the GUI freezes up otherwise. I have a basic knowledge of multithreading (volatile, synchronizing, etc.) but I was wondering how to immediately stop/pause a…

EpicDavi
- 6,732
- 3
- 19
- 20
0
votes
2 answers
Pause server side execution and continue based on user input
I have a requirement where in I am processing some XML on server in a web application
Assume there is a button on a asp.net page. When the user clicks the button, I call a function say button_click() -> which in turns calls some service method to…

Gurucharan Balakuntla Maheshku
- 2,399
- 9
- 43
- 76
0
votes
1 answer
Pause before executing a jQuery action
I'm putting an AJAX form in a bootstrap modal. After the form successfully submits, I want to display a success message and then hide the modal.
I first set the success message as msg, then replace the form with the message, and finally, I hide the…

Ed.
- 4,439
- 10
- 60
- 78
0
votes
2 answers
android thread pause /resume not responding after home button pressed
I am making my first android game and I have a problem with my game thread. The thing is that when I pause it and press back or home button, I get an error. "the activity (in my app game) is not responding. My code:
public class GameLoopThread…

Korangar
- 1
- 2
0
votes
1 answer
Pause script execution on opera dragonfly
In Chrome dev tools we can use the 'Pause' icon on the bottom row of the interface to break on all exceptions. So when our web page is running, we can break it suddenly without adding breakpoint and know where the script stop.
Can we do that in…

user430926
- 4,017
- 13
- 53
- 77