We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
my solution is:
first solution: change PureMVC.cpp
from:
to:
second solution: change PureMVC.cpp, int Mutex::Mutex(void)
from: ::pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
::pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
::pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
I don't know which is better.
The text was updated successfully, but these errors were encountered:
The first is less intrusive, I'd go with that. If you want to make a pull request, I'll accept it.
Sorry, something went wrong.
read the HowToBuild.txt
No branches or pull requests
my solution is:
first solution: change PureMVC.cpp
from:
if defined(APPLE)
define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
endif
to:
if defined(APPLE) || defined(CYGWIN)
define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
endif
second solution: change PureMVC.cpp, int Mutex::Mutex(void)
from:
::pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
to:
if defined(PTHREAD_MUTEX_RECURSIVE_NP)
else
endif
I don't know which is better.
The text was updated successfully, but these errors were encountered: