classification
Title: Automatically set parent thread idents on thread start
Type: Stage:
Components: Versions: Python 3.10, Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: gaborjbernat
Priority: normal Keywords:

Created on 2020-12-03 09:49 by gaborjbernat, last changed 2020-12-03 09:49 by gaborjbernat.

Messages (1)
msg382398 - (view) Author: gaborjbernat (gaborjbernat) * Date: 2020-12-03 09:49
I want to request automatically adding the current thread ident on the thread start as parent_ident. I would like this to be able to implement thread-local variables that inherit their values from the parent thread. See https://gist.github.com/gaborbernat/67b653f1d3ce4857a065a3bd81e424df#file-thread_inheritence_sol_1-py-L1 for such an example.
History
Date User Action Args
2020-12-03 09:49:23gaborjbernatcreate