qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] rcu: fixes rcu and test-logging.c
@ 2020-09-08 12:31 Yonggang Luo
  2020-09-08 12:31 ` [PATCH v3 1/2] logging: Fixes memory leak in test-logging.c Yonggang Luo
  2020-09-08 12:31 ` [PATCH v3 2/2] rcu: add uninit destructor for rcu Yonggang Luo
  0 siblings, 2 replies; 3+ messages in thread
From: Yonggang Luo @ 2020-09-08 12:31 UTC (permalink / raw)
  To: qemu-devel
  Cc: QEMU Trivial, Daniel Brodsky, Yonggang Luo, Stefan Hajnoczi,
	Juan Quintela

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(-)

-- 
2.28.0.windows.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-08 12:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-08 12:31 [PATCH v3 0/2] rcu: fixes rcu and test-logging.c Yonggang Luo
2020-09-08 12:31 ` [PATCH v3 1/2] logging: Fixes memory leak in test-logging.c Yonggang Luo
2020-09-08 12:31 ` [PATCH v3 2/2] rcu: add uninit destructor for rcu Yonggang Luo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).