src/server/twitmanager.c
static inline void release_twitmanager( struct twitmanager * restrict tm ){
	assert( tm != NULL );

	while ( pthread_mutex_lock( &tm->tm_critical_lock ) ){ continue; }
	tm->tm_is_critical = 0;
	while ( pthread_cond_signal( &tm->tm_critical_cond ) ){ continue; }
	while ( pthread_mutex_unlock( &tm->tm_critical_lock ) ){ continue; }

	return ;
}
// Unlock (release) the manager for a thread
Unlock (release) the manager for a thread
Unlock ( release ) the manager for a thread
static inline void release_twitmanager( struct twitmanager * restrict tm ){
	assert( tm != NULL );
	while ( pthread_mutex_lock( &tm->tm_critical_lock ) ){ continue; }
	tm->tm_is_critical = 0;
	while ( pthread_cond_signal( &tm->tm_critical_cond ) ){ continue; }
	while ( pthread_mutex_unlock( &tm->tm_critical_lock ) ){ continue; }
	return ;
}
static inline void release_twitmanager ( struct twitmanager * restrict tm ) { assert ( tm != NULL ) ; while ( pthread_mutex_lock ( & tm -> tm_critical_lock ) ) { continue ; } tm -> tm_is_critical = 0 ; while ( pthread_cond_signal ( & tm -> tm_critical_cond ) ) { continue ; } while ( pthread_mutex_unlock ( & tm -> tm_critical_lock ) ) { continue ; } return ; }
Unlock (release) the manager for a thread
Unlock ( release ) the manager for a thread