Ignore:
Timestamp:
10/02/15 16:07:24 (6 years ago)
Author:
Shane Alcock <salcock@…>
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:
6cf2770
Parents:
7fe6dfa
Message:

Various DAG fixes

  • Use CSAPI for configuring snap length if available
  • Don't die if the number of streams doesn't exactly match the number of processing threads. Instead, just choose the minimum of the two and work with that.
  • Remove debug output re: thread starting
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace_parallel.c

    r10553bf r32a3ec5  
    625625
    626626        if (trace->format->pregister_thread) {
    627                 trace->format->pregister_thread(trace, t, trace_is_parallel(trace));
     627                if (trace->format->pregister_thread(trace, t,
     628                                trace_is_parallel(trace)) < 0) {
     629                        thread_change_state(trace, t, THREAD_FINISHED, false);
     630                        pthread_exit(NULL);
     631                }
    628632        }
    629633
Note: See TracChangeset for help on using the changeset viewer.