Branch: Tag:

2003-02-10

2003-02-10 17:10:40 by Martin Stjernholm <mast@lysator.liu.se>

Better names for the YES, NO and UNKNOWN flags to avoid clashes.

Rev: src/acconfig.h:1.115
Rev: src/builtin_functions.c:1.475
Rev: src/configure.in:1.685
Rev: src/gc.c:1.206
Rev: src/modules/system/system.c:1.140
Rev: src/threads.c:1.201
Rev: src/threads.h:1.123

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: threads.c,v 1.200 2003/02/08 17:12:27 mast Exp $ + || $Id: threads.c,v 1.201 2003/02/10 17:10:40 mast Exp $   */      #ifndef CONFIGURE_TEST   #include "global.h" - RCSID("$Id: threads.c,v 1.200 2003/02/08 17:12:27 mast Exp $"); + RCSID("$Id: threads.c,v 1.201 2003/02/10 17:10:40 mast Exp $");      PMOD_EXPORT int num_threads = 1;   PMOD_EXPORT int threads_disabled = 0;
1500:    THIS_THREAD->status=THREAD_NOT_STARTED;    co_init(& THIS_THREAD->status_change);    THIS_THREAD->thread_local=NULL; - #if CPU_TIME_IS_THREAD_LOCAL == YES + #if CPU_TIME_IS_THREAD_LOCAL == PIKE_YES    THIS_THREAD->auto_gc_time = 0;   #endif   }