mbox series

[v4,0/2] rcu: fixes rcu and test-logging.c

Message ID 20200908151052.713-1-luoyonggang@gmail.com (mailing list archive)
Headers show
Series rcu: fixes rcu and test-logging.c | expand

Message

Yonggang Luo Sept. 8, 2020, 3:10 p.m. UTC
This is necessary if the pending rcu calls are closing and removing
temp files. This also provide a function
void rcu_wait_finished(void);
to fixes test-logging.c test failures on msys2/mingw.
On windows if the file doesn't closed, you can not remove it.

Yonggang Luo (2):
  logging: Fixes memory leak in test-logging.c
  rcu: add uninit destructor for rcu

 include/qemu/rcu.h   |  5 +++++
 tests/test-logging.c |  4 +++-
 util/rcu.c           | 37 ++++++++++++++++++++++++++++++++++++-
 3 files changed, 44 insertions(+), 2 deletions(-)