> The things you are using are thread safe, so they lock their > inner state against concurrent access. You might want to add > a wrapper around mutex_unlock in the following way: > > #define mutex_unlock(mtx) > mutex_unlock_inline(mtx,__FILE__,__LINE__,__PRETTY_FUNCTION__) > static inline mutex_unlock_inline(Mutex mtx, const char *file, int line, > const char *func) { > debug("mutex", 0, "mutex_unlock called from %s: %d in function %s", file, > line, func); > mutex_unlock_real(mtx); > }
I get the same error: > 2001-12-13 15:13:38 [16] PANIC: mutex_unlock: Mutex failure! > 2001-12-13 15:13:38 [16] PANIC: System error 22: Invalid argument for smsbox running a Siemens M20. Any ideas? Stipe [EMAIL PROTECTED] ------------------------------------------------------------------- Wapme Systems AG Münsterstr. 248 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [EMAIL PROTECTED] Internet: http://www.wapme-systems.de ------------------------------------------------------------------- wapme.net - wherever you are