Ignore:
Timestamp:
02/28/13 10:23:19 (8 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
c5ff469
Parents:
05f2718
Message:
  • Tidy up some of the threading data structures in libwandio whenever we exit
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libwandio/iow-thread.c

    r60f3c4c r954577b9  
    246246        pthread_mutex_unlock(&DATA(iow)->mutex);
    247247        pthread_join(DATA(iow)->consumer,NULL);
     248       
     249        pthread_mutex_destroy(&DATA(iow)->mutex);
     250        pthread_cond_destroy(&DATA(iow)->data_ready);
     251        pthread_cond_destroy(&DATA(iow)->space_avail);
     252       
    248253        free(iow->data);
    249254        free(iow);
Note: See TracChangeset for help on using the changeset viewer.