suspend Questions

3

Solved

I have a little Bash script which suspends the computer after a given number of minutes. However, I'd like to extend it to tell me what the time will be when it will be suspended, so I can get a ro...
Nicholle asked 9/6, 2009 at 1:37

3

Solved

I am making an application in C# which uses a winform as the GUI and a separate thread which is running in the background automatically changing things. Ex: public void Run() { while(true) { pr...
Juryman asked 12/3, 2010 at 6:32

3

Solved

Is there any Win32 API to put the machine into hibernate or suspend mode? I read MSDN and found that WM_POWERBROADCAST message gets broadcasted when power-management events occur. I thought of si...
Flamethrower asked 6/6, 2009 at 12:27

2

Solved

I know in bash I can run one command after another by separating them by semicolons, like $ command1; command2 Or if I only want command2 to run only if command1 succeeds, using &&: $ c...
Duero asked 28/11, 2012 at 7:53

3

Solved

I'm using ubuntu 12.04. Is there a way to catch a suspend event in Python, i.e. if the laptop is going to suspend, do this...? The same question for catching shutdown event.
Oke asked 23/11, 2012 at 10:45

2

I call a NativeActivity from a JavaActivity. The entry point of my NativeActivity is android_main(struct android_app* state) At the end of this, I call ANativeActivity_finish However my na...
Terrier asked 10/11, 2011 at 22:5

1

I just noticed that suspend and resume in android threading has been deprecated. What is the work around for this or how can I suspend and resume a thread in android?
Tridentum asked 17/4, 2012 at 10:15

2

Solved

Hi I have to write 2 fonctions for system calls that will manage the execution of task in an operating system. I couldn't find a way to suspend/restart processes. I have found a list of signals and...
Milburt asked 15/2, 2012 at 16:13

1

I'm writing a very simple bulk download program in c# that reads a .txt file of URLs to download. I've set it up with a global Thread and delegate for updating the GUI, and the pressing of the "Beg...
Demonetize asked 14/8, 2011 at 23:7

6

So I know this has been beaten to death but I still can't figure out a solution. I have my UIApplicationExitsOnSuspend set to <true/> in the Info.plist and still both in the simulator as wel...
Lakenyalaker asked 2/8, 2010 at 14:58

3

Solved

I can suspend a thread of another process by using SuspendThread(). Is there any way to also suspend the execution of that process altogether? If yes, please post code. Thanks. PS: Since you will...
Talented asked 7/8, 2009 at 13:4

3

Solved

This question involves Delphi and XE specifically deprecating Suspend and Resume. I have read other posts and I have not found a similar usage so far, so I’m going to go ahead and ask for a discuss...
Pelfrey asked 9/12, 2010 at 17:19

1

In the Spring Framework manual they state that for a PROPAGATION_REQUIRES_NEW the current transaction will be suspended. What does that "suspended transaction"? The timer for the timeout stops co...
Beneficial asked 25/11, 2009 at 13:51

4

Solved

I need to create a thread in Delphi with the following characteristics: Waits until the main thread adds data to a shared queue. Processes all the data in the queue, returning the results to main...
Koenig asked 14/11, 2009 at 20:52

2

Solved

What would cause a query being done in Management Studio to get suspended? I perform a simple select top 60000 from a table (which has 11 million rows) and the results come back within a sec or ...
Foreglimpse asked 25/8, 2009 at 18:26

© 2022 - 2024 — McMap. All rights reserved.