static void caml_io_mutex_unlock_exn(void) { struct channel * chan = TlsGetValue(last_channel_locked_key); if (chan != NULL) caml_io_mutex_unlock(chan); }
static void caml_io_mutex_unlock_exn(void) { struct channel * chan = st_tls_get(last_channel_locked_key); if (chan != NULL) caml_io_mutex_unlock(chan); }