Line | |
---|
1 | /*
|
---|
2 | (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
---|
3 | See the copyright notice in the ACK home directory, in the file "Copyright".
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | Module: Dummy priority routines
|
---|
8 | Author: Ceriel J.H. Jacobs
|
---|
9 | Version: $Header: /cvsup/minix/src/lib/ack/libm2/stackprio.c,v 1.1 2005/10/10 15:27:46 beng Exp $
|
---|
10 | */
|
---|
11 |
|
---|
12 | static unsigned prio = 0;
|
---|
13 |
|
---|
14 | stackprio(n)
|
---|
15 | unsigned n;
|
---|
16 | {
|
---|
17 | unsigned old = prio;
|
---|
18 |
|
---|
19 | if (n > prio) prio = n;
|
---|
20 | return old;
|
---|
21 | }
|
---|
22 |
|
---|
23 | unstackprio(n)
|
---|
24 | unsigned n;
|
---|
25 | {
|
---|
26 | prio = n;
|
---|
27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.