Changeset bf9d387 in rtems


Ignore:
Timestamp:
Mar 6, 2015, 1:40:56 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
2bd71d95
Parents:
c096dc1
git-author:
Sebastian Huber <sebastian.huber@…> (03/06/15 13:40:56)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/06/15 15:20:00)
Message:

score: Allow NULL for SMP lock name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/smplock.h

    rc096dc1 rbf9d387  
    506506  current = iteration_context->current;
    507507  if ( !_Chain_Is_tail( &control->Stats_chain, &current->Node ) ) {
    508     size_t name_len = strlen(current->name);
     508    size_t name_len = current->name != NULL ? strlen(current->name) : 0;
    509509
    510510    valid = true;
Note: See TracChangeset for help on using the changeset viewer.