wp_cache_writers_exit()
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
wp_cache_writers_exit();
Код wp_cache_writers_exit() wp cache writers exit WPSCache 1.12.4
function wp_cache_writers_exit() { global $mutex, $wp_cache_mutex_disabled, $use_flock; if ( defined( 'WPSC_DISABLE_LOCKING' ) || ( isset( $wp_cache_mutex_disabled ) && $wp_cache_mutex_disabled ) ) { return true; } if ( ! $mutex ) { wp_cache_debug( '(writers exit) mutex lock not created. not caching.', 2 ); return false; } if ( $use_flock ) { wp_cache_debug( 'releasing lock using flock()', 5 ); flock( $mutex, LOCK_UN ); } else { wp_cache_debug( 'releasing lock using sem_release() and sem_remove()', 5 ); @sem_release( $mutex ); if ( defined( 'WPSC_REMOVE_SEMAPHORE' ) ) { @sem_remove( $mutex ); } } }