mbox series

[v2,0/2] rcu: add uninit destructor for rcu

Message ID 20200908122944.414-1-luoyonggang@gmail.com (mailing list archive)
Headers show
Series rcu: add uninit destructor for rcu | expand

Message

Yonggang Luo Sept. 8, 2020, 12:29 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 failure 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           | 28 ++++++++++++++++++++++++----
 3 files changed, 32 insertions(+), 5 deletions(-)