more on registry stuff
My app always creates a set of mutexes with the same name. I do this when creating them:
if(name&&!rt_mutex_bind(&_m, name, TM_NONBLOCK))
assert(!rt_mutex_delete(&_m));
This way, if it already exists, I delete it. Then I create it again.
They do not seem to delete. In fact, I see some duplicate names in /proc/registry/mutex
Steven
Quoted 12 lines · Steven Seeger
My app always creates a set of mutexes with the same name. I do this when creating them:
if(name&&!rt_mutex_bind(&_m, name, TM_NONBLOCK))assert(!rt_mutex_delete(&_m));
This way, if it already exists, I delete it. Then I create it again.
They do not seem to delete. In fact, I see some duplicate names in
/proc/registry/mutex
Any /proc output to get more details?
Quoted 8 lines
Steven
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.
Well, last time it occurred I just did a ls /proc/xenomai/registry/mutexes
I saw a two names of each mutex. I didn't look at any other stats. Next time it occurs I'll do that.
Steven
Quoted 25 lines · Philippe Gerum
Quoted 12 lines · Steven Seeger
My app always creates a set of mutexes with the same name. I do this when creating them:
if(name&&!rt_mutex_bind(&_m, name, TM_NONBLOCK))assert(!rt_mutex_delete(&_m));
This way, if it already exists, I delete it. Then I create it again.
They do not seem to delete. In fact, I see some duplicate names in
/proc/registry/mutexAny /proc output to get more details?
Quoted 8 lines
Steven
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help