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

Multithreading Windows #2657

Open
jliegner opened this issue Oct 14, 2022 · 0 comments
Open

Multithreading Windows #2657

jliegner opened this issue Oct 14, 2022 · 0 comments

Comments

@jliegner
Copy link

libmosquitto used normaly pthreads. Under WIN32 this is a problem and i can not use the -DWITH_THREADING switch.
Under:
https://github.com/guilt/Windows-PThread
is a header-only implementation of pthreads for Windows. With this header i can use -DWITH_THREADING under Windows without change the libmosquitto sources and a work perfekt.
Can't you put that into your code and the Windows/Linux differences would have gone away with minimal effort?

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