src/nc_thread.c
/*
 * Frees a connection swapunit queue item (adds it to the freelist.)
 */
Frees a connection swapunit queue item (adds it to the freelist.)
Frees a connection swapunit queue item ( adds it to the freelist . )
void 
sui_free(struct swapunit *item) {
    pthread_mutex_lock(&sui_freelist_lock);
    item->next = sui_freelist;
    sui_freelist = item;
    pthread_mutex_unlock(&sui_freelist_lock);
}
void sui_free ( struct swapunit * item ) { pthread_mutex_lock ( & sui_freelist_lock ) ; item -> next = sui_freelist ; sui_freelist = item ; pthread_mutex_unlock ( & sui_freelist_lock ) ; }
Frees a connection swapunit queue item (adds it to the freelist.)
Frees a connection swapunit queue item ( adds it to the freelist . )