Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Windows Timeout Command

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Windows Timeout Command


Chronological Thread 
  • From: Jason Gross <jasongross9 AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: [Coq-Club] Windows Timeout Command
  • Date: Fri, 6 Jun 2014 19:33:25 +0100

Currently, [Timeout] raises an anomaly about sys.signal on Windows.  I may try my hand at writing a simpler variant as a plugin, but I figured I'd ask if anyone has already written something like this:
How hard would it be to write the following variant of [Timeout], say, called [PoorMansTimeout n tac]: It would executes [tac] fully, measuring how long it takes, and is equivalent to [fail "Timeout!"] if it takes longer than [n] seconds, and is equivalent to [tac] otherwise.

Thanks,
Jason



Archive powered by MHonArc 2.6.18.

Top of Page