⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ndis_d_sched.c

📁 操作系统SunOS 4.1.3版本的源码
💻 C
字号:
#ifndef	lint#ifdef sccsstatic	char sccsid[] = "@(#)ndis_d_sched.c 1.1 92/07/30 Copyr 1985 Sun Micro";#endif#endif /* * Copyright (c) 1985 by Sun Microsystems, Inc. *//* * Ndis_d_sched.c - Default scheduler for the dispatcher. */#include <sunwindow/ntfy.h>#include <sunwindow/ndis.h>pkg_private Notify_valuendis_default_scheduler(n, nclients)	int n;	register Notify_client *nclients;{	register Notify_client nclient;	register int i;	for (i = 0; i < n;i++) {		nclient = *(nclients+i);		/* Notify client if haven't been done yet */		if (nclient != NOTIFY_CLIENT_NULL) {			/* notify_client detects errors from nclients */			if (notify_client(nclient) != NOTIFY_OK)				return(NOTIFY_UNEXPECTED);			/*			 * Null out client entry prevents it from being			 * notified again.			 */			*(nclients+i) = NOTIFY_CLIENT_NULL;		}	}	return(NOTIFY_DONE);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -