PyFileObject.unlocked_count

Num. currently running sections of code Availability: >= 2.6 using f_fp with the GIL released.

struct PyFileObject
version(Python_2_6_Or_Later)
int unlocked_count;

Meta