errlogRemoveListeners() handle self-removal
Handle errlogRemoveListeners() during a callback.
This commit is contained in:
1 parent
7448a8bfa9
commit
49fddaa13e
2 files changed
+26
-4
No files matched your search
@@ -178,6 +178,9 @@ LIBCOM_API void errlogAddListener(errlogListener listener, void *pPrivate);
|
||||
*
|
||||
* \param listener Function pointer of type ::errlogListener
|
||||
* \param pPrivate This will be passed as the first argument of listener()
|
||||
*
|
||||
* \since UNRELEASED Safe to call from a listener callback.
|
||||
* \until UNRELEASED Self-removal from a listener callback caused corruption.
|
||||
*/
|
||||
LIBCOM_API int errlogRemoveListeners(errlogListener listener,
|
||||
void *pPrivate);
|
||||
|
||||
Reference in new issue
Block a user