-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update FSEventStreamScheduleWithRunLoop to FSEventStreamSetDispatchQueue #38
base: master
Are you sure you want to change the base?
Conversation
Remove unnecessary multithreading for MacOS Check if event file matches before calling seeSingleFileChanges()
CMakeLists.txt
Outdated
@@ -41,4 +41,4 @@ if(BuildTests) | |||
add_subdirectory(tests) | |||
endif() | |||
|
|||
# add_subdirectory(example) | |||
add_subdirectory(example) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you hide this behind an option? just this breaks projects that use cmake fetchcontent_declare to import the client.
Something like:
FileWatch_Build_Example
?
Thank you
Thank you very much, I will try to check this out in the coming days |
@@ -208,7 +208,7 @@ namespace filewatch { | |||
return *this; | |||
} | |||
|
|||
// Const memeber varibles don't let me implent moves nicely, if moves are really wanted std::unique_ptr should be used and move that. | |||
// Const member variables don't let me implement moves nicely, if moves are really wanted std::unique_ptr should be used and move that. | |||
FileWatch<StringType>(FileWatch<StringType>&&) = delete; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FileWatch<StringType>(FileWatch<StringType>&&) = delete; | |
FileWatch(FileWatch<StringType>&&) = delete; |
Since dispatch_queue already handles multithreading, I've also removed our multithreading and synchronisation code.