Closed jaredmales closed 10 months ago
Took the liberty to factor that with ImageStreamIO_UpdateIm
calls.
The only difference is that only writetime is updated, not atime. Can change ISIO to address that if necessary.
Good for me. I have a proposal to add atime to UpdateIm in a non-breaking way. Will PR next.
On Mon, Dec 11, 2023, 14:00 Vincent Deo @.***> wrote:
Took the liberty to factor that with ImageStreamIO_UpdateIm calls.
The only difference is that only writetime is updated, not atime. Can change ISIO to address that if necessary.
— Reply to this email directly, view it on GitHub https://github.com/cacao-org/cacao/pull/44#issuecomment-1850880117, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZFZCHW4G4G46WQQF2MXZLYI5X7JAVCNFSM6AAAAABANSXJG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJQHA4DAMJRG4 . You are receiving this because you authored the thread.Message ID: @.***>
When modalfilter (mfilt) starts up it initializes several shmims (such as mgainfact). If these already exist, they are not recreated (so inode doesn't change) and are just re-initialized (e.g. to 1 for all modes in mgainfact). However, cnt0 and times are not updated and semaphores are not posted. So any listening processes, such as modal optimizers and guis, don't know that the arrays have changed.
This change updates cnt0, writetime, atime, and posts semaphores for the relevant shmims on mfilt startup.