Ignore:
Timestamp:
11/27/18 10:18:20 (2 years ago)
Author:
Jacob Van Walraven <jcv9@…>
Branches:
develop
Children:
b6ff245
Parents:
88b9798
Message:

And more..

File:
1 edited

Legend:

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

    r88b9798 r0a474e3  
    7474        int ret;
    7575        /*assert(mq->message_len);*/
     76        //if (!mq->message_len) {
     77        //      fprintf(stderr, "Message queue must be initialised with libtrace_message_queue_init()"
     78        //              "before inserting messages in libtrace_message_queue_put()\n");
     79        //      /* Can we return -1 here as this could imply threads are waiting */
     80        //      return -1;
     81        //}
    7682        ASSERT_RET(write(mq->pipefd[1], message, mq->message_len), == (int) mq->message_len);
    7783        // Update after we've written
Note: See TracChangeset for help on using the changeset viewer.