[En-Nut-Discussion] API for thread name and mutex nesting?

Przemyslaw Rudy prudy at audiotech.pl
Sun Oct 1 21:24:12 CEST 2006


Hi

It looks like there is no API to identify current thread and to check
mutex nesting level.
What about:

1. New API function like:
---------------
char *GetThreadName(void)
---------------
that would return current thread name.

2. changing return type of NutMutexLock() from ‘void’ to ‘int/u_short’
and returning current (or previous) mutex internal count?

Thanks
Przemek



More information about the En-Nut-Discussion mailing list