notify: make notify_init() failures fatal
When a mutex cannot be created, there must be something very wrong. Induce panic and abort MPD in this case.
This commit is contained in:
@@ -27,7 +27,7 @@ typedef struct notify {
|
||||
int pending;
|
||||
} Notify;
|
||||
|
||||
int notify_init(struct notify *notify);
|
||||
void notify_init(struct notify *notify);
|
||||
|
||||
/**
|
||||
* The thread which shall be notified by this object must call this
|
||||
|
Reference in New Issue
Block a user