Skip to content

Commit c082d8a

Browse files
committed
Add a TODO about refactoring critical sections
1 parent 6760545 commit c082d8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/_zstd/compressor.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ _get_CDict(ZstdDict *self, int compressionLevel)
134134
PyObject *capsule;
135135
ZSTD_CDict *cdict;
136136

137+
// TODO(emmatyping): refactor critical section code into a lock_held function
137138
Py_BEGIN_CRITICAL_SECTION(self);
138139

139140
/* int level object */

0 commit comments

Comments
 (0)