Changeset 6fc1ae7 for lib/trace.c


Ignore:
Timestamp:
02/09/15 11:39:07 (7 years ago)
Author:
Richard Sanger <rsangerarj@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, 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:
065cab9
Parents:
1bad1e2
Message:

libtrace_halt should be volatile so it doesn't get optimised out anywhere

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r7fda5c5 r6fc1ae7  
    105105static struct libtrace_format_t *formats_list = NULL;
    106106
    107 int libtrace_halt = 0;
     107volatile int libtrace_halt = 0;
    108108
    109109/* strncpy is not assured to copy the final \0, so we
Note: See TracChangeset for help on using the changeset viewer.