termination is used in its general meaning, but it is bounded by the programming scope.
Questions tagged [termination]
351 questions
0
votes
0 answers
Distinguishing whether an iOS app running in background is terminated by iOS or user
My iOS app is running in background (with location services permissions) and I am trying to determine if the app is terminated by the user or they system. In the case of a user terminating with the app switcher, I'd want to clean up some location…

Samaga
- 98
- 5
0
votes
1 answer
AX.25 protocol interfering with sending data packet
I am very sorry to not be able to provide code for this question but it is more of a logical situation. My termination sequence for the AX.25 protocol is "111111" which is six 1s. So if this sequence of 1s is found inside my data packet, it will…

MidknightZero
- 3
- 4
0
votes
2 answers
My Java program Terminate unexpectedly
i've created one program like twitter.
here is part of my program.
public static void main(String[] args) {
while (true) {Scanner a = new Scanner(System.in);
System.out.println("1.Login\t2.Sign Up\t0.Close");
int choice = 0;
…

Elanthirian
- 11
- 4
0
votes
1 answer
Cant Terminate process which is launched at bootup with at daemon
I have fooinit.rt process launched at boot (/etc/init.d/boot.local)
Here is boot.local file
...
/bin/fooinit.rt &
...
I create an order list at job in order to kill fooinit.rt. that is Triggered in C code
and I wrote a stop script (in)which kill…

roll
- 125
- 13
0
votes
1 answer
Handling UIBackgroundTask Expiration is stopping my beaconRanging Method
i developed an app which ranges for beacons in the background using ibeacon API. As it uses the core location and bluetooth , so i enabled the Location, Bluetoothconfiguration from the capabilities. So after running my app , ranging happening in…

Madhu
- 869
- 1
- 17
- 37
0
votes
1 answer
Java Runtime Execution - Confirmation issue
I am trying to develop a GUI application that creates and deletes elastic Starcluster clusters in Amazon Elastic Compute 2. So far I have managed to create and use these clusters from the graphic application, but I am running into a problem when I…

Mikel Urkia
- 2,087
- 1
- 23
- 40
0
votes
2 answers
Python program doesn't quit; import random causing errors
Forgive me if this comes out a bit scatter-brained, I'm not exaggerating when I say I've been working on this program for over 13 hours now and I am seriously sleep deprived. This is my 4th revision and I honestly don't know what to do anymore, so…

user3598983
- 3
- 1
0
votes
2 answers
WinPhone app event to react on app process termination
When we deactivate a WP app, it can be tombstoned and terminated later by the OS. I need to save some unsaved app data to a persistent storage when the process is terminated, but not before this. Obviously, the Deactivated event cannot be used for…

TecMan
- 2,743
- 2
- 30
- 64
0
votes
1 answer
Understanding simulation termination
This is a part of simulation which describes program termination. Could someone please help me understand how this part of the simulation work i am completely lost. The code is as below:
while time_elapsed < end_time :
event=birth () +death ()…

user3281911
- 17
- 3
0
votes
0 answers
(Threads Problems) Full Termination
I have have a problem with the Thread Termination ([C] - Linux).
The problem is that I can not completely finish a thread and deallocate resources.
Because if I recall the program, I see that the old thread is still running
The server code is more…

Skipper
- 83
- 1
- 2
- 8
0
votes
1 answer
How to invoke method before console program terminates itself
I would like to serialize some objects in console application just before program terminates itself(without adding this code simply in the end of main method)?
Is that possible to solve out?

Yoda
- 17,363
- 67
- 204
- 344
0
votes
1 answer
gnu c on_exit - segmentation fault
Out of curiosity I am trying to get the libc on_exit function to work, but I have run into a problem with a segmentation fault. The difficulty I am having is finding an explanation of the proper use of this function. The function is defined in glibc…

David C. Rankin
- 81,885
- 6
- 58
- 85
0
votes
1 answer
Read closes the whole program regardless of other Reads.
So I'm trying to make a program that allows users to insert values for length and width and then another method is called to calculate the area and perimeter. Howevever, I can't seem to get past the user input part.
The whole program is closed…

LalienX
- 191
- 1
- 2
- 10
0
votes
1 answer
What inputs would cause this function to not terminate?
I am trying to prove this function in ACL2s/Lisp, but it is returning a stack overflow error, though I can't see the flaw in the code.
(defunc foo (x y)
:input-contract (and (natp x) (natp y))
:output-contract (natp (foo x y))
(cond ((equal 0 x)…

b33k3rz
- 173
- 1
- 8
0
votes
1 answer
What does Ollydbg termination code 0 and 1 means?
I am debuggin an application. After loading i click f9 then program is getting terminated. Termination code at the bottom-left of ollydbg is showing status 1.
I want to know What does Ollydbg termination code 0 and 1 means?

Mavenkp
- 27
- 1
- 2
- 6