elock.h: add possibility to create recursive mutexes