Python logo

Table of Contents

  • threading — Thread-based parallelism
    • Introduction
    • GIL and performance considerations
    • Reference
      • Thread-local data
      • Thread objects
      • Lock objects
      • RLock objects
      • Condition objects
      • Semaphore objects
      • Semaphore example
      • Event objects
      • Timer objects
      • Barrier objects
    • Using locks, conditions, and semaphores in the with statement

Previous topic

Concurrent Execution

Next topic

multiprocessing — Process-based parallelism