mindee / tawazi

A DAG Scheduler library written in pure python
https://mindee.github.io/tawazi/
Apache License 2.0
83 stars 5 forks source link

[FEATURE] new: :sparkles: exchange thread_name_prefix with launched threads #91

Closed bashirmindee closed 1 year ago

bashirmindee commented 1 year ago

Description

In order to be able to exchange information between the main thread and the ExecNode's thread directly, in a threadsafe manner, and without passing the information using the arguments / return value... we can use a prefix in the name of the threads that are launched by tawazi... this thread prefix is common to all threads and can be changed as needed (for example we can change it for every invocation of the DAG instance).