call_out.c

sima/call_out.c · 408 B

From the archive 970706-sima.tgz

Download the archive   « Back to the archive contents

/* Copyright 1995 J"orn Rennecke */

#include "common.h"
#include "object.h"
#include "schedule.h"

void call_out() {
    /* FIXME: do all the call_outs() */
    if ((async_load += num_objects) >= ASYNC_BLOCKING * ASYNC_CYCLE) {
	object_async();
	statistics();
    }
    async_current_time =
      (uint32)(current_time = get_current_time()) / ASYNC_GRANULARITY;
    CLEAR_JOB(call_out);
    EXTRA_JOBS();
}

Site Stats

Snippets: 1791
Codebases: 571