Fixed a bug in the threading code that would prevent new threads starting.
drwxr-xr-x - citadel
drwxr-xr-x - contrib
drwxr-xr-x - ctdlphp
drwxr-xr-x - ctdlsalearn
drwxr-xr-x - ctdlsh
drwxr-xr-x - libcitadel
drwxr-xr-x - webcit