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

CFRunLoop required (?) #75

Open
smilingthax opened this issue Aug 25, 2022 · 1 comment
Open

CFRunLoop required (?) #75

smilingthax opened this issue Aug 25, 2022 · 1 comment

Comments

@smilingthax
Copy link

Syphon uses NSDistributedNotificationCenter (e.g.) to detect already running servers, which requires a spinning CFRunLoop (e.g via NSRunLoop).
Esp. when using a non-GUI Server one might be tempted to skip this.

For Syphon Servers AFAICT only Clients requesting initial discovery of already running servers does not work, when the Server does not use CFRunLoop ...
Maybe this requirement could be relaxed in Syphon?

Whereas for Syphon Clients / Discovery, receiving Notifications is at the moment a fundamental requirement.

At least, this should be documented.

@smilingthax
Copy link
Author

For example, when using the GLib/GTK+ cross-platform framework: Glib::MainLoop does not spin CFRunLoop, vs Gtk::Main / Gtk::Application, which does... (cf. #56 (comment))

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

No branches or pull requests

1 participant