top of page


1 Overview
1.1 Intro
2 Python compiler and interpreter
2.1 The compiler and interpreter
2.2 Python is a dynamically-typed language
3 Threads and Processes
3.1 How they work
3.2 Concurrency and Parallelism
3.3 The global interpreter
3.4 Multithreaded programs
4 Python implementation
4.1 Creating threads and CPython
4.2 Implementing delay in threads
4.3 The join() method. Waiting for a thread to complete
4.4 Name and number of active threads
4.5 Implementing a lock / mutex
4.6 Synchronization of threads with many locks
4.7 The 'deadlock' bug and how to avoid it
4.8 Join threads at end of imported file
5 Multithreading in Energy Trading
5.1 An example on energy trading
5.2 Example on algo energy trading
6 Conclusions
6.1 Conclusions
bottom of page