int fini(void) { #if defined(HAVE_NATIVE_CRAY) || defined(HAVE_CRAY_NETWORK) cleanup_lease_extender(); #endif return SLURM_SUCCESS; }
int fini(void) { #ifdef HAVE_NATIVE_CRAY pthread_mutex_lock(&port_mutex); FREE_NULL_BITMAP(port_resv); pthread_mutex_unlock(&port_mutex); #endif #if defined(HAVE_NATIVE_CRAY) || defined(HAVE_CRAY_NETWORK) cleanup_lease_extender(); #endif return SLURM_SUCCESS; }