More session table stability nonsense
[citadel.git] / citadel / sysdep.c
index 57fae4f48822dadb47853066be9aa16c9d12598f..9a05d83cf2bcec5815ce4208ac077ba1ed25245d 100644 (file)
@@ -480,6 +480,7 @@ void cleanup(int exit_code)
 void kill_session(int session_to_kill) {
        struct CitContext *ptr;
 
+       /* FIX ... do a lock-discover-unlock-kill sequence here. */
        for (ptr = ContextList; ptr != NULL; ptr = ptr->next) {
                if (ptr->cs_pid == session_to_kill) {
                        pthread_cancel(ptr->mythread);