Changeset 15e9390 for lib/iow-thread.c


Ignore:
Timestamp:
10/15/09 17:49:42 (11 years ago)
Author:
Perry Lorier <perry@…>
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:
3c26e2a
Parents:
db03808
Message:

Rearrange struct fields to get better packing on 64bit machines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/iow-thread.c

    r9d0049cf r15e9390  
    2222struct state_t {
    2323        struct buffer_t buffer[BUFFERS];
    24         int out_buffer;
    2524        off_t offset;
    2625        pthread_t consumer;
    27         bool closing;
    2826        iow_t *iow;
    2927        pthread_cond_t data_ready;
    3028        pthread_cond_t space_avail;
    3129        pthread_mutex_t mutex;
     30        int out_buffer;
     31        bool closing;
    3232};
    3333
Note: See TracChangeset for help on using the changeset viewer.