From 2bd47d3cda52acc0beb688ffb4a8202412de5c09 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 9 Jul 2003 19:05:13 +0000 Subject: Get rid of the #ifdef ENABLE_THREADS since we no longer plan to 2003-07-09 Jeffrey Stedfast * camel-block-file.c: Get rid of the #ifdef ENABLE_THREADS since we no longer plan to support/maintain this. * camel.c: Same. * camel-certdb.c: Here too. * camel-charset-map.c: And here. * camel-cipher-context.c: " * camel-data-wrapper.c: " * camel-digest-folder.c: " * camel-exception.c: " * camel-folder.c: " * camel-folder-summary.c: " * camel-lock-client.c: " * camel-mime-utils.c: " * camel-object.c: " * camel-operation.c: " * camel-partition-table.c: " * camel-sasl-popb4smtp.c: " * camel-service.c: " * camel-session.c: " * camel-store.c: " * camel-store-summary.c: " * camel-text-index.c: " * camel-transport.c: " * camel-vee-folder.c: " * camel-tcp-stream-openssl.c: Removed pthread.h, it isn't needed. svn path=/trunk/; revision=21777 --- camel/camel-certdb.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'camel/camel-certdb.c') diff --git a/camel/camel-certdb.c b/camel/camel-certdb.c index 7f944f8fcd..8df6f2e578 100644 --- a/camel/camel-certdb.c +++ b/camel/camel-certdb.c @@ -2,7 +2,7 @@ /* * Authors: Jeffrey Stedfast * - * Copyright 2002 Ximian, Inc. (www.ximian.com) + * Copyright 2002-2003 Ximian, Inc. (www.ximian.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -117,12 +117,10 @@ camel_certdb_init (CamelCertDB *certdb) certdb->certs = g_ptr_array_new (); certdb->cert_hash = g_hash_table_new (g_str_hash, g_str_equal); -#ifdef ENABLE_THREADS certdb->priv->db_lock = g_mutex_new (); certdb->priv->io_lock = g_mutex_new (); certdb->priv->alloc_lock = g_mutex_new (); certdb->priv->ref_lock = g_mutex_new (); -#endif } static void @@ -145,12 +143,10 @@ camel_certdb_finalize (CamelObject *obj) if (certdb->cert_chunks) e_memchunk_destroy (certdb->cert_chunks); -#ifdef ENABLE_THREADS g_mutex_free (p->db_lock); g_mutex_free (p->io_lock); g_mutex_free (p->alloc_lock); g_mutex_free (p->ref_lock); -#endif g_free (p); } -- cgit