Skip to content

Send file watcher events directly to the scheduler#14674

Open
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-pspsysyunrtv
Open

Send file watcher events directly to the scheduler#14674
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-pspsysyunrtv

Conversation

@rgrinberg
Copy link
Copy Markdown
Member

File watcher callbacks now construct event lists before sending them through the scheduler hook, removing the intermediate queued thunk path.

Protect fs sync bookkeeping with a mutex shared with the inotify watcher so sync events can be consumed safely from watcher threads.

File watcher callbacks now construct event lists before sending them through
the scheduler hook, removing the intermediate queued thunk path.

Protect fs sync bookkeeping with a mutex shared with the inotify watcher so
sync events can be consumed safely from watcher threads.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
@rgrinberg rgrinberg force-pushed the push-pspsysyunrtv branch from e7ab5a4 to c62c558 Compare May 23, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant