mbox series

[0/2] rcu: add uninit destructor for rcu so the pending calls be called before the process exit

Message ID 20200908121022.11-1-luoyonggang@gmail.com (mailing list archive)
Headers show
Series rcu: add uninit destructor for rcu so the pending calls be called before the process exit | expand

Message

Yonggang Luo Sept. 8, 2020, 12:10 p.m. UTC
This is necessary if the pending calls are close and removing temp files
Also fixes test-logging.c on msys2/mingw, on windows if the file doesn't clos=
ed, you can not remove i

Yonggang Luo (2):
  logging: Fixes memory leak in test-logging.c
  rcu: add uninit destructor for rcu so the pending calls be called
    before the process exit

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

--=20
2.28.0.windows.1