stackprio.c

来自「minix3的源代码」· C语言 代码 · 共 28 行

C
28
字号
/*  (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.  See the copyright notice in the ACK home directory, in the file "Copyright".*//*  Module:	Dummy priority routines  Author:	Ceriel J.H. Jacobs  Version:	$Header: /cvsup/minix/src/lib/ack/libm2/stackprio.c,v 1.1 2005/10/10 15:27:46 beng Exp $*/static unsigned prio = 0;stackprio(n)	unsigned n;{	unsigned old = prio;	if (n > prio) prio = n;	return old;}unstackprio(n)	unsigned n;{	prio = n;}

⌨️ 快捷键说明

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