Test if a mutex is locked ( 1.2.13 )

I was wondering, is there any way to check if a mutex is currently

I’m working to release a new version of SDL_ffmpeg, and I would like
to be able to signal warnings to the user, if you use a function which
expects a mutex-lock, when the mutex is not actually locked.

I don’t believe that the API of 1.2.13 provides which such a function,
but maybe there is a way around this?

thanks in advance

  • arjan