[libvirt] Potential race condition problem

Claudio Bley cbley at av-test.de
Mon Oct 15 07:00:58 UTC 2012


Hi,

At Sat, 29 Sep 2012 07:52:42 +0000,
Benjamin Wang (gendwang) wrote:
> 
> Hi,
> 
> OK. Now I am using JNA to access libvirt.

Actually, there is no problem in Java as virInitialize is called once
in a static initializer (in a thread-safe manner) when the class gets
first loaded by the class-loader.

-- 
AV-Test GmbH, Henricistraße 20, 04155 Leipzig, Germany
Phone: +49 341 265 310 19
Web:<http://www.av-test.org>

Eingetragen am / Registered at: Amtsgericht Stendal (HRB 114076)
Geschaeftsfuehrer (CEO): Andreas Marx, Guido Habicht, Maik Morgenstern




More information about the libvir-list mailing list