Changeset ee94f8a in rtems-libbsd


Ignore:
Timestamp:
Jan 31, 2017, 8:49:49 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
b96abfd647154f10ea8f7fac68e25676636eded5, 7d194e5f55b4aad6abbd096c30d2dd22531c73cf, 6da0dda3255e2a49365aee6904fe00d4f2ca9d68
Children:
1fd5083
Parents:
c6b85e8
Message:

rtems-bsd-mutex: Use thread queue name

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/kern/subr_lock.c

    rc6b85e8 ree94f8a  
    9494
    9595        /* Initialize the lock object. */
     96#ifndef __rtems__
    9697        lock->lo_name = name;
     98#endif /* __rtems__ */
    9799        lock->lo_flags |= flags | LO_INITIALIZED;
    98100        LOCK_LOG_INIT(lock, 0);
  • freebsd/sys/sys/_lock.h

    rc6b85e8 ree94f8a  
    3333
    3434struct lock_object {
     35#ifndef __rtems__
    3536        const   char *lo_name;          /* Individual lock name. */
     37#endif /* __rtems__ */
    3638        u_int   lo_flags;
    3739#ifndef __rtems__
  • rtemsbsd/include/machine/rtems-bsd-muteximpl.h

    rc6b85e8 ree94f8a  
    6262    struct lock_class *class, const char *name, const char *type, int flags)
    6363{
    64         _Thread_queue_Initialize(&m->queue);
     64        _Thread_queue_Initialize(&m->queue, name);
    6565        m->nest_level = 0;
    6666
Note: See TracChangeset for help on using the changeset viewer.