Displaying 2 results from an estimated 2 matches for "1416c02".
Did you mean:
141602
2015 Jun 06
0
[PATCH 3/5] threads: Use thread-local storage for errors.
...t char *msg);
-
-void
-guestfs_int_init_error_handler (guestfs_h *g)
-{
- g->error_cb = default_error_cb;
- g->error_cb_data = NULL;
-}
-
static void
default_error_cb (guestfs_h *g, void *data, const char *msg)
{
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h
index 6601096..1416c02 100644
--- a/src/guestfs-internal.h
+++ b/src/guestfs-internal.h
@@ -34,6 +34,7 @@
#endif
#include "glthread/lock.h"
+#include "glthread/tls.h"
#include "hash.h"
#include "guestfs-internal-frontend.h"
@@ -387,13 +388,6 @@ struct connection_ops {
in...
2015 Jun 06
7
[PATCH 0/5] Add support for thread-safe handle.
This patch isn't ready to go upstream. In fact, I think we might do a
quick 1.30 release soon, and save this patch, and also the extensive
changes proposed for the test suite[1], to after 1.30.
Currently it is not safe to use the same handle from multiple threads,
unless you implement your own mutexes. See:
http://libguestfs.org/guestfs.3.html#multiple-handles-and-multiple-threads
These