Commit graph

1 commit

Author SHA1 Message Date
CPRoptmem
3411344db6 fix: native Windows support (msvcrt lock instead of fcntl)
fcntl does not exist on Windows, so memo crashed on import. Guard the
import and use msvcrt advisory locking with spin/backoff; open the lock
file in append mode so parallel sessions don't break each other's locks.

Verified: 8 parallel processes x 200 notes = 1600/1600 records on
native Windows (no WSL).
2026-07-27 08:31:11 +01:00