#define CC MyContext()
-extern citthread_key_t MyConKey; /* TSD key for MyContext() */
+extern pthread_key_t MyConKey; /* TSD key for MyContext() */
extern int num_sessions;
extern CitContext masterCC;
extern CitContext *ContextList;
CitContext *CloneContext(CitContext *CloneMe);
/* forcibly close and flush fd's on shutdown */
-void terminate_stuck_sessions(void);
+void terminate_all_sessions(void);
/* Deprecated, user CtdlBumpNewMailCounter() instead */
void BumpNewMailCounter(long) __attribute__ ((deprecated));
/*
pid_t tid = syscall(SYS_gettid);
*/
- citthread_setspecific(MyConKey, (void *)which_con );
+ pthread_setspecific(MyConKey, (void *)which_con );
/*
syslog(LOG_DEBUG, "[%d]: Now doing %s\n",
(int) tid,