rtems-bsd-mutex: Use thread queue name

This commit is contained in:
Sebastian Huber
2017-01-31 09:49:49 +01:00
parent c6b85e8ce8
commit ee94f8a8ea
3 changed files with 5 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ static inline void
rtems_bsd_mutex_init(struct lock_object *lock, rtems_bsd_mutex *m,
struct lock_class *class, const char *name, const char *type, int flags)
{
_Thread_queue_Initialize(&m->queue);
_Thread_queue_Initialize(&m->queue, name);
m->nest_level = 0;
lock_init(lock, class, name, type, flags);