On 2/5/23 13:38, Richard W.M. Jones wrote: > On Sun, Feb 05, 2023 at 09:10:29AM +0100, Laszlo Ersek wrote: >> - ignore the whole thing? > > This one. > >> - update the documentation, add locking APIs, implemented with a mutex? > > I don't believe that would help since other libraries or the main > program might be calling setenv. We cannot do anything just inside libnbd.
Right; the idea would be to modify all libnbd client libraries and programs... OK, I'll ignore it. Thanks Laszlo >> - update the documentation, add locking APIs, implemented with an >> rwlock? >> >> Please comment, >> Laszlo > _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://listman.redhat.com/mailman/listinfo/libguestfs