Ignore:
Timestamp:
06/04/14 02:28:58 (8 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:
b13b939
Parents:
fac8c46
Message:

Adds a thread keepalive that sends a messages to the perpkt threads every second(still todo make this configurable)
Updated tracertstats to use this rather than the temporary result system which has been removed
Also fixes a handful of compile warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/data-struct/message_queue.h

    rd6a56b6 r82facc5  
    1414} libtrace_message_queue_t;
    1515
    16 typedef struct libtrace_message_t {
    17         int code;
    18         void *additional;
    19         libtrace_thread_t *sender;
    20 } libtrace_message_t;
    21 
    2216inline void libtrace_message_queue_init(libtrace_message_queue_t *mq, size_t message_len);
    2317inline int libtrace_message_queue_put(libtrace_message_queue_t *mq, const void *message);
Note: See TracChangeset for help on using the changeset viewer.