Static Analyse

Class Diagrams

Future (object)

Create the class diagrams for the python Future (object).

Note

TPE

Create the class diagrams for the python ThreadPoolExecutor.

The code can be found online: https://github.com/python/cpython/blob/master/Lib/concurrent/futures/thread.py.

Other diagrams

Create all other (static) diagrams that you may find useful.

Questionnaire

  1. Why is the Futures class-diagram so much simpler are the ThreadPoolExecutor one?

  2. Which class is more important? Conceptually?


See also

Comments

comments powered by Disqus