Plan 9 from Bell Labs’s /usr/web/sources/extra/9hist/port/nulledf.c

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


## diffname port/nulledf.c 2002/0410
## diff -e /dev/null /n/emeliedump/2002/0410/sys/src/9/port/nulledf.c
0a
#include	"u.h"
#include	"../port/lib.h"
#include	"mem.h"
#include	"dat.h"
#include	"fns.h"
#include	"../port/error.h"
#include	"../port/edf.h"

int
isedf(Proc*)
{
	return 0;
}

void
edf_bury(Proc*)
{
}

int
edf_anyready(void)
{
	return 0;
}

void
edf_ready(Proc*)
{
}

Proc*
edf_runproc(void)
{
	return nil;
}

void
edf_block(Proc*)
{
}

.
## diffname port/nulledf.c 2002/0413
## diff -e /n/emeliedump/2002/0410/sys/src/9/port/nulledf.c /n/emeliedump/2002/0413/sys/src/9/port/nulledf.c
38c
edfblock(Proc*)
.
32c
edfrunproc(void)
.
27c
edfready(Proc*)
.
21c
edfanyready(void)
.
16c
edfbury(Proc*)
.
## diffname port/nulledf.c 2002/0704
## diff -e /n/emeliedump/2002/0413/sys/src/9/port/nulledf.c /n/emeliedump/2002/0704/sys/src/9/port/nulledf.c
41a
static void
edfinit(void)
{
}

static void
edfexpel(Task*)
{
}

static char *
edfadmit(Task*)
{
	return "No edf";
}

static void
edfdeadline(Proc*)
{
}

Edfinterface nulledf = {
	.isedf		= isedf,
	.edfbury		= edfbury,
	.edfanyready	= edfanyready,
	.edfready		= edfready,
	.edfrunproc	= edfrunproc,
	.edfblock		= edfblock,
	.edfinit		= edfinit,
	.edfexpel		= edfexpel,
	.edfadmit		= edfadmit,
	.edfdeadline	= edfdeadline,
};
.
37c
static void
.
31c
static Proc*
.
26c
static void
.
20c
static int
.
15c
static void
.
9c
static int
.
## diffname port/nulledf.c 2002/0927
## diff -e /n/emeliedump/2002/0704/sys/src/9/port/nulledf.c /n/emeliedump/2002/0927/sys/src/9/port/nulledf.c
7c
#include	"../port/realtime.h"
.
## diffname port/nulledf.c 2002/1119
## diff -e /n/emeliedump/2002/0927/sys/src/9/port/nulledf.c /n/emeliedump/2002/1119/sys/src/9/port/nulledf.c
7c
#include	"realtime.h"
#include	"../port/edf.h"
.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].