Skip to content

Commit 57790d4

Browse files
committed
Wrap comment going over 80 column limit
1 parent df92d94 commit 57790d4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

softioc/extension.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ static PyObject *db_put_field(PyObject *self, PyObject *args)
113113

114114
long put_result;
115115
/* 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
121121
* callback.
122122
* Therefore, we must ensure we relinquish the GIL while we perform this
123123
* EPICS call, to avoid potential deadlocks.

0 commit comments

Comments
 (0)