summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-01 14:50:41 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-01 14:50:41 (GMT)
commit88c376f128195a30ecfdc3fef57fc2147169460d (patch)
tree6dd7fbd22acea9ece014cf422177eb1d75bb37de /Utilities
parent1191bd7af1f78db7b8e6d0bd174df360d5c1407d (diff)
downloadCMake-88c376f128195a30ecfdc3fef57fc2147169460d.zip
CMake-88c376f128195a30ecfdc3fef57fc2147169460d.tar.gz
CMake-88c376f128195a30ecfdc3fef57fc2147169460d.tar.bz2
ENH: More removing of pthreads
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmxmlrpc/xmlrpc_curl_transport.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc_curl_transport.c b/Utilities/cmxmlrpc/xmlrpc_curl_transport.c
index c4a5e19..66cc55d 100644
--- a/Utilities/cmxmlrpc/xmlrpc_curl_transport.c
+++ b/Utilities/cmxmlrpc/xmlrpc_curl_transport.c
@@ -46,7 +46,9 @@
struct clientTransport {
+#if defined (HAVE_PTHREADS)
pthread_mutex_t listLock;
+#endif
struct list_head rpcList;
/* List of all RPCs that exist for this transport. An RPC exists
from the time the user requests it until the time the user
@@ -79,7 +81,9 @@ typedef struct {
*/
xmlrpc_mem_block * responseXmlP;
xmlrpc_bool threadExists;
+#if defined(HAVE_PTHREADS)
pthread_t thread;
+#endif
transport_asynch_complete complete;
/* Routine to call to complete the RPC after it is complete HTTP-wise.
NULL if none.