Closed Bug 1107324 Opened 5 years ago Closed 5 years ago

When signaling error for too-long timeout the message should specify the maximum timeout

Categories

(Core :: JavaScript Engine, defect)

defect
Not set

Tracking

()

RESOLVED INVALID

People

(Reporter: lth, Assigned: lth)

References

(Blocks 1 open bug)

Details

Currently there is an implementation limit on the timeout for futexWait; if the wait is longer than the limit and not infinite then an error is thrown.  The error message for the error should state what the implementation limit is.

The implementation limit will probably persist, but it may increase from the current 4000s (close to the max number of microseconds representable in uint32_t) to something larger.  Thus, there should probably be a FutexAPI call to obtain the limit for the purpose of reporting the error.
This is gone from worker blocking and it will be gone from main thread blocking, where the watchdog timeout (slow script) in any case dominates whatever the futex code will use.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.