Changeset ee94f8a in rtems-libbsd


Ignore:
Timestamp:
Jan 31, 2017, 8:49:49 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
fd86c091b97759106da7355ce1dd81ebe030e285, f020f08430150c1656a0ad0a1de13699db9b980b
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.