added Event_try_signal and Event_try_broadcast to make it so the process callback does not call pthread_mutex_lock. also removed a LOG call in Samples_write
use Mutex_trylock in SampleRam_write
started working on sf module