Fix race condition that caused segfaults in imap and xmpp as seen on
authorDave West <davew@uncensored.citadel.org>
Sun, 10 Jan 2010 12:41:01 +0000 (12:41 +0000)
committerDave West <davew@uncensored.citadel.org>
Sun, 10 Jan 2010 12:41:01 +0000 (12:41 +0000)
commitf175de70e711a13800fd805b087478da5c60de1a
tree26ef5367d1adec04e0091300fe8e5e342643be48
parentba9b7477d29ba41b89565c9c5c6c43efa265264b
Fix race condition that caused segfaults in imap and xmpp as seen on
uncensored.
The race was that a new connection could begin doing its greeting
function and another thread could begin the connections command loop
function before the greeting had completed setting up the connection
environment.
citadel/context.h
citadel/sysdep.c