PY_TIMEOUT_T

PY_TIMEOUT_T is the integral type used to specify timeouts when waiting on a lock (see PyThread_acquire_lock_timed() below). PY_TIMEOUT_MAX is the highest usable value (in microseconds) of that type, and depends on the system threading API.

NOTE: this isn't the same value as _thread.TIMEOUT_MAX. The _thread module exposes a higher-level API, with timeouts expressed in seconds and floating-point numbers allowed. Availability: >= 3.2

version(Python_3_2_Or_Later)
extern (C)
alias PY_TIMEOUT_T = C_long

Meta