Changeset 389dd77 for lib


Ignore:
Timestamp:
09/23/15 13:47:24 (5 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:
6fac5db
Parents:
ff12906
Message:

Added 'sender' thread to user message callback

Update parallel skeleton to match this API change.

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace_parallel.h

    r1101175 r389dd77  
    551551 */
    552552typedef void (*fn_cb_usermessage) (libtrace_t *libtrace, libtrace_thread_t *t,
    553                 void *global, void *tls, int mesg, libtrace_generic_t data);
     553                void *global, void *tls, int mesg, libtrace_generic_t data,
     554                libtrace_thread_t *sender);
    554555
    555556
  • lib/trace_parallel.c

    r1101175 r389dd77  
    231231                if (cbs->message_user)
    232232                        (*cbs->message_user)(trace, thread, trace->global_blob,
    233                                         thread->user_data, type, data);
     233                                        thread->user_data, type, data, sender);
    234234                return;
    235235        case MESSAGE_RESULT:
Note: See TracChangeset for help on using the changeset viewer.