ESBMC
Efficient SMT-based Context-Bounded Model Checker
Loading...
Searching...
No Matches
threading_deadlock.Thread Class Reference

Public Member Functions

None __init__ (self)
None start (self)
None join (self)

Protected Attributes

int _tid = 0

Detailed Description

Skeleton matching ``threading.Thread``; identical to the assume-only variant.

Every ``Thread(target=...)`` construction, ``.start()`` call, and
``.join()`` call is rewritten by ``lower_threading_thread_usage``
in ``parser.py`` before this class is ever instantiated. The
skeleton's only purpose is to satisfy the Python frontend's
class-instantiation machinery when the rewritten construction
lowers to ``Thread()`` (no args).

Constructor & Destructor Documentation

◆ __init__()

None threading_deadlock.Thread.__init__ ( self)

Member Function Documentation

◆ join()

None threading_deadlock.Thread.join ( self)
Reached only when the AST rewrite failed to lower a Thread.

◆ start()

None threading_deadlock.Thread.start ( self)
Reached only when the AST rewrite failed to lower a Thread.

Member Data Documentation

◆ _tid

int threading_deadlock.Thread._tid = 0
protected

The documentation for this class was generated from the following file: