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.
Rich.
- update the documentation, add locking APIs, implemented with an
rwlock?
Please comment,
Laszlo
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top