ndis_d_sched.c
来自「操作系统SunOS 4.1.3版本的源码」· C语言 代码 · 共 43 行
C
43 行
#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 + =
减小字号Ctrl + -
显示快捷键?