[Libguestfs] [PATCH] Add a cache for iconv_t handles to hive_t

Richard W.M. Jones rjones at redhat.com
Fri Feb 9 13:34:12 UTC 2018


On Fri, Feb 09, 2018 at 01:30:03PM +0000, Richard W.M. Jones wrote:
> (4) Replace any calls to pthread_mutex_* with gl_lock_*.  It's
> probably not necessary to check return codes, unless they need to be
> recursive in which case use gl_recursive_lock_* instead.

Two sentences jammed into one there, it should say:

(4) Replace any calls to pthread_mutex_* with gl_lock_*, unless they
need to be recursive in which case use gl_recursive_lock_* instead.
It's probably not necessary to check return codes,

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list