mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-04 09:44:12 +00:00
Add logsys_flush logsys API call to signal the logging thread
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2103 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
c07b3bdc70
commit
c6a31d6145
@ -1466,3 +1466,8 @@ void logsys_atexit (void)
|
||||
pthread_join (logsys_thread_id, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
void logsys_flush (void)
|
||||
{
|
||||
wthread_signal ();
|
||||
}
|
||||
|
@ -150,6 +150,8 @@ extern void logsys_atexit (void);
|
||||
/*
|
||||
* External API - misc
|
||||
*/
|
||||
extern void logsys_flush (void);
|
||||
|
||||
extern int logsys_log_rec_store (const char *filename);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user