ndis_s_sched.c

来自「操作系统SunOS 4.1.3版本的源码」· C语言 代码 · 共 33 行

C
33
字号
#ifndef	lint#ifdef sccsstatic	char sccsid[] = "@(#)ndis_s_sched.c 1.1 92/07/30 Copyr 1985 Sun Micro";#endif#endif /* * Copyright (c) 1985 by Sun Microsystems, Inc. *//* * Ndis_s_sched.c - Implement the notify_set_sheduler_func. */#include <sunwindow/ntfy.h>#include <sunwindow/ndis.h>extern Notify_funcnotify_set_scheduler_func(scheduler_func)	Notify_func scheduler_func;{	register Notify_func old_func;	NTFY_BEGIN_CRITICAL;	old_func = ndis_scheduler;	ndis_scheduler = scheduler_func;	if (ndis_scheduler == NOTIFY_FUNC_NULL)		ndis_scheduler = ndis_default_scheduler;	NTFY_END_CRITICAL;	return(old_func);}

⌨️ 快捷键说明

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