I am using a mutex to protect a serial debug printout.
Is it safe to use sd_mutex_acquire in a blocking manner, provided it is only called from main and softdevice callbacks (interrupt pri level 3), or is there a scenario in which this could cause a problem?
What happens if a softdevice callback functions needs a mutex-protected resource that main currently has locked; will the callback task be suspended and main (eventually) scheduled?