pike.git / src / threads.c

version» Context lines:

pike.git/src/threads.c:2204:       if(threads_disabled)    Pike_error("Cannot wait for conditions when threads are disabled!\n");       if (args <= 2) {    FLOAT_TYPE fsecs = 0.0;    get_all_args("condition->wait", args, "%o.%F", &key, &fsecs);    seconds = (INT_TYPE) fsecs;    nanos = (INT_TYPE)((fsecs - seconds)*1000000000);    } else { +  /* FIXME: Support bignum nanos. */    get_all_args("condition->wait", args, "%o%i%i", &key, &seconds, &nanos);    }       if ((key->prog != mutex_key) ||    (!(OB2KEY(key)->initialized)) ||    (!(mut = OB2KEY(key)->mut))) {    Pike_error("Bad argument 1 to condition->wait()\n");    }       if(args > 1) {