Branch: Tag:

1998-03-26

1998-03-26 14:31:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved _disable_threads().
Added THREADS_ALLOW_UID() and THREADS_DISALLOW_UID().

Rev: src/modules/files/efuns.c:1.47
Rev: src/modules/files/file.c:1.83
Rev: src/modules/files/socket.c:1.30
Rev: src/modules/spider/dumudp.c:1.36
Rev: src/modules/system/passwords.c:1.7
Rev: src/modules/system/syslog.c:1.5
Rev: src/modules/system/system.c:1.47
Rev: src/program.c:1.67
Rev: src/threads.c:1.65
Rev: src/threads.h:1.37

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: program.c,v 1.66 1998/03/18 20:22:31 per Exp $"); + RCSID("$Id: program.c,v 1.67 1998/03/26 14:30:58 grubba Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
837:       compilation_depth--;    threads_disabled--; +  co_signal(&threads_disabled_change);    free_all_nodes();    return prog;   }