A timeout refers to a condition (normally an error condition) triggered when an event fails to occur within a predefined time limit. Timeout may refer to any, or all of the following: the time limit itself; the fact that it was exceeded; or the condition-handling code.

learn more… | top users | synonyms

1
vote
1answer
29 views

Screen timeout/lock script

This is a script I made while having trouble with xautolock and dimming of the screen right before locking it. I would like some tips for making it a bit more robust and to know of any disadvantages ...
2
votes
2answers
71 views

Time optimization of finding separators [closed]

In one of my assignments I faced a problem: there are an unknown number of pairs of words. A line consists of: a word, max 10000 chars a space another word containing letters which are separators a ...
8
votes
1answer
829 views

Web service proxy that switches endpoint URLs in the event of a TimeoutException

I am creating a service (FaultTolerantCommunication) that wraps a call to a (web) service. Its responsibility is to switch the endpoint URL in the event of a ...
8
votes
5answers
5k views

Reading from a serial port

I'm receiving data from a serial port in C, using Serial Programming Guide for POSIX Operating Systems as a guide. The data I receive should be always 10 bytes in length but I want to be sure that, ...
1
vote
1answer
66 views

Node.JS HTTP server displaying Google

I'm reading Professional Node.js: Building Javascript Based Scalable Software by Pedro Teixeira and created a web page responding with www.google.de. Could you take a look at my code and let me know ...
3
votes
0answers
1k views

QNetworkReply network reply timeout helper

Since Qt still does not support to set timeouts on QNetworkRequest objects, I wrote this little wrapper class: ...
3
votes
1answer
986 views

Javascript “recursion” via setTimeout

I understand that because of Javascript's single-threaded execution, long loops or recursive calls could make the browser unresponsive while they execute. I thought about simulating recursion using ...
10
votes
2answers
234 views
+250

Timing out a method

I have created this extension method that can be used to run a function with a timeout applied to it. Is this a sensible way of doing it? ...
3
votes
1answer
153 views

Time Limit decorator

I have an interface named ICodeRunner, defined like this: ...
7
votes
1answer
500 views
13
votes
3answers
12k views

Correct use of Monitor.Wait, Monitor.Pulse and timeout

I have the following code that I use to determine if connection has been made to a communications device. I am unsure if my use of Monitor.Wait and ...