From 2e56f3a0633d0551fcdf89945dbb949476db931f Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Tue, 12 Dec 2023 17:02:19 +0100 Subject: [PATCH] Add short description of the new interface functions ngSpice_LockRealloc(void) ad ngSpice_UnlockRealloc(void) --- src/include/ngspice/sharedspice.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/include/ngspice/sharedspice.h b/src/include/ngspice/sharedspice.h index d25c2c798..1082d0c24 100644 --- a/src/include/ngspice/sharedspice.h +++ b/src/include/ngspice/sharedspice.h @@ -82,6 +82,13 @@ char** ngSpice_AllVecs(char*); returns to the caller a pointer to an array of vector names in the plot named by the string in the argument. +** +int ngSpice_LockRealloc(void) +int ngSpice_UnlockRealloc(void) +Locking and unlocking the realloc of output vectors during simulation. May be set +during reading output vectors in the primaty thread, while the simulation in the +background thread is moving on. + ** Additional basics: No memory mallocing and freeing across the interface: