Skip to content
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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Frost-54
Copy link

Since dispatch_queue already handles multithreading, I've also removed our multithreading and synchronisation code.

Frost added 3 commits January 18, 2023 00:28
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)
Copy link
Owner

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

@ThomasMonkman
Copy link
Owner

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;
Copy link

@pinguin999 pinguin999 Jan 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
FileWatch<StringType>(FileWatch<StringType>&&) = delete;
FileWatch(FileWatch<StringType>&&) = delete;

SAURABHS1993 added a commit to elphasecure/filewatch2 that referenced this pull request Aug 16, 2024
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.

3 participants