File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -113,11 +113,11 @@ static PyObject *db_put_field(PyObject *self, PyObject *args)
113
113
114
114
long put_result ;
115
115
/* There are two important locks to consider at this point: The Global
116
- * Interpreter Lock (GIL) and the EPICS record lock. A deadlock is possible if
117
- * this thread holds the GIL and wants the record lock (which happens inside
118
- * dbPutField), and there exists another EPICS thread that has the record lock
119
- * and wants to call Python (which requires the GIL).
120
- * This can occur if this code is called as part of an asynchronous on_update
116
+ * Interpreter Lock (GIL) and the EPICS record lock. A deadlock is possible
117
+ * if this thread holds the GIL and wants the record lock (which happens
118
+ * inside dbPutField), and there exists another EPICS thread that has the
119
+ * record lock and wants to call Python (which requires the GIL). This can
120
+ * occur if this code is called as part of an asynchronous on_update
121
121
* callback.
122
122
* Therefore, we must ensure we relinquish the GIL while we perform this
123
123
* EPICS call, to avoid potential deadlocks.
You can’t perform that action at this time.
0 commit comments