|
-
October 4th, 2005, 04:40 PM
#1
process
problem:
start a process and wait for its return value to see if the process starts successfully. But for some reason, the value is not returned within 30 seconds.
what I want is
if it goes over 30 seconds, stop the process.
How to check time processing time?
please tell me how to do it.
thanks
-
October 5th, 2005, 03:25 AM
#2
Re: process
 Originally Posted by lindawqu
But for some reason, the value is not returned within 30 seconds
How do you return the value? its a little difficult to understand your question. Please tell us what exactly are you doing or post some code.
Last edited by jhammer; October 5th, 2005 at 04:00 PM.
-
October 5th, 2005, 07:29 AM
#3
Re: process
create a method like
private bool myProcess()
{
process.start(.....) //for some reasom, it processes over 30 secends
return true;
}
-
October 5th, 2005, 07:48 AM
#4
Re: process
It's not easy to find errors in pseudo code. Could you post a bit more of the code? How do you initialize your 'process' variable?
- petter
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|