Releases: onox/inotify-ada
Releases · onox/inotify-ada
v2.0.1
v2.0.0
This release fixes the ability to remove watches from within an event handler and adds a function that returns the file descriptor of the instance. This can and must only be used for polling before reading and processing the events.
Breaking changes
Procedure Process_Events
will no longer block indefinitely. Your application must now call it repeatedly. You can call the procedure in a simple while loop:
while Instance.Has_Watches loop
Instance.Process_Events (Handle_Event'Access);
end loop;
Changes
- Fix removing a watch from within an event handler
- Add a function to get the file descriptor of an instance
- Add pragma Preelaborable_Initialization to private types