From 9e10f232782d7d4f61ce526394616957628c7e37 Mon Sep 17 00:00:00 2001 From: Gregory Gay Date: Wed, 5 Nov 2025 15:41:30 +0000 Subject: [PATCH 1/2] Add 'callbackSetQueueSize' function This function is used to change the callback buffer limit. See Epics AppDevGuide, Callback Queue section (16.2.4) https://epics.anl.gov/base/R3-14/12-docs/AppDevGuide/node17.html --- softioc/imports.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/softioc/imports.py b/softioc/imports.py index 24754349..a54fc8ee 100644 --- a/softioc/imports.py +++ b/softioc/imports.py @@ -86,6 +86,9 @@ def from_param(cls, value): dbLoadDatabase.argtypes = (auto_encode, auto_encode, auto_encode) dbLoadDatabase.errcheck = expect_success +callbackSetQueueSize = dbCore.callbackSetQueueSize +callbackSetQueueSize.argtypes = (c_int,) +callbackSetQueueSize.errcheck = expect_success # unsigned short recGblResetAlarms(void *precord) # @@ -116,5 +119,6 @@ def from_param(cls, value): 'registryDeviceSupportAdd', 'IOSCANPVT', 'scanIoRequest', 'scanIoInit', 'dbLoadDatabase', + 'callbackSetQueueSize', 'recGblResetAlarms', ] From 92d49423c332eb204a1ceb9d452a840d16863989 Mon Sep 17 00:00:00 2001 From: Gregory Gay Date: Mon, 24 Nov 2025 16:13:35 +0000 Subject: [PATCH 2/2] Add changelog entry --- CHANGELOG.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b80ef847..b1531d2e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -10,7 +10,9 @@ Versioning `_. Unreleased_ ----------- -Nothing yet +Added: + +- `Add support to change the callback buffer limit <../../pull/194>`_ 4.6.1_ - 2025-04-22 -------------------