You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So for Mac OS it uses ERRORCHECK while Linux uses RECURSIVE.
Does it mean that on Mac OS you cant recursively lock the same Mutex (from the same thread)? @HurryStarfish am not sure if it was you on Discord but somone told me that one should be able to do recursive mutex locks in BlitzMax ... so I am now asking if this really is the case.
The text was updated successfully, but these errors were encountered:
While looking in the sources I also saw this in blitz.mod/blitz_thread.c:
which is used as param for
pthread_mutexattr_settype
: https://linux.die.net/man/3/pthread_mutexattr_settypeThe enum is defined this way:
So for Mac OS it uses
ERRORCHECK
while Linux usesRECURSIVE
.Does it mean that on Mac OS you cant recursively lock the same Mutex (from the same thread)?
@HurryStarfish am not sure if it was you on Discord but somone told me that one should be able to do recursive mutex locks in BlitzMax ... so I am now asking if this really is the case.
The text was updated successfully, but these errors were encountered: