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

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
583 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
3k 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
64 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 ...
2
votes
0answers
833 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
844 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 ...
2
votes
0answers
133 views

Timing out a method in .NET

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

Time Limit decorator

I have an interface named ICodeRunner, defined like this: ...
5
votes
1answer
467 views
13
votes
3answers
11k 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 ...