syslog(LOG_DEBUG, "extensions: init %s", ctdl_module_init_syscmd());
syslog(LOG_DEBUG, "extensions: init %s", ctdl_module_init_serv_user());
syslog(LOG_DEBUG, "extensions: init %s", ctdl_module_init_expire());
- //syslog(LOG_DEBUG, "extensions: init %s", ctdl_module_init_fulltext()); // FIXME trying this
+
+ // FIXME
+ // There is something in this module that fux0rs the new backend, causing it to deadlock.
+ // syslog(LOG_DEBUG, "extensions: init %s", ctdl_module_init_fulltext());
+
syslog(LOG_DEBUG, "extensions: init %s", ctdl_module_init_image());
syslog(LOG_DEBUG, "extensions: init %s", ctdl_module_init_imap());
syslog(LOG_DEBUG, "extensions: init %s", ctdl_module_init_sieve());
// Obtain a semaphore lock to begin a critical section, but only if no one else has one
-int try_critical_section(int which_one) {
+//int try_critical_section(int which_one) {
// For all types of critical sections except those listed here,
// ensure nobody ever tries to do a critical section within a
// transaction; this could lead to deadlock.
- if ( (which_one != S_FLOORCACHE)
- && (which_one != S_NETCONFIGS)
- ) {
- cdb_check_handles();
- }
- return (pthread_mutex_trylock(&Critters[which_one]));
-}
+ //if ( (which_one != S_FLOORCACHE)
+ //&& (which_one != S_NETCONFIGS)
+ //) {
+ //cdb_check_handles();
+ //}
+ //return (pthread_mutex_trylock(&Critters[which_one]));
+//}
// Obtain a semaphore lock to begin a critical section.
extern int active_workers;
extern int server_shutting_down;
-int try_critical_section (int which_one);
+//int try_critical_section (int which_one);
void begin_critical_section (int which_one);
void end_critical_section (int which_one);
void go_threading(void);