Branch: Tag:

2000-01-29

2000-01-29 13:42:14 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

added & and - for mappings v/s arrays/multisets

Rev: src/builtin_functions.c:1.233
Rev: src/mapping.c:1.53

5:   \*/   /**/   #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.232 2000/01/27 23:07:41 hubbe Exp $"); + RCSID("$Id: builtin_functions.c,v 1.233 2000/01/29 13:42:14 mirar Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
2407:       pop_n_elems(args);    -  THREADS_ALLOW(); +        if (delay>POLL_SLEEP_LIMIT) -  +  { +  /* THREADS_ALLOW may take longer time then POLL_SLEEP_LIMIT */ +  THREADS_ALLOW();    for (;;)    {    double left = delay - TIME_ELAPSED;
2429:   #endif    GET_TIME_ELAPSED;    } +  THREADS_DISALLOW(); +  GET_TIME_ELAPSED; /* same goes for DISALLOW */ +  }       if (do_microsleep)    while (delay>TIME_ELAPSED)    GET_TIME_ELAPSED; -  -  THREADS_DISALLOW(); +    }      void f_gc(INT32 args)