Changeset 206 in flair-src for trunk/lib/FlairCore/src/SharedMem_impl.cpp


Ignore:
Timestamp:
Jan 9, 2018, 11:43:37 AM (7 years ago)
Author:
Sanahuja Guillaume
Message:

m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/SharedMem_impl.cpp

    r203 r206  
    127127    }
    128128  } else if (type==SharedMem::Type::producerConsumer) {
    129       if (sem_producer.GetSemaphore(nsTimeout)) {
    130         memcpy(buf, mem_segment, size);
    131         sem_consumer.ReleaseSemaphore();
     129    if (sem_producer.GetSemaphore(nsTimeout)) {
     130      memcpy(buf, mem_segment, size);
     131      sem_consumer.ReleaseSemaphore();
    132132      return true;
    133133    }
Note: See TracChangeset for help on using the changeset viewer.