uqfree.c,v
来自「TCP-IP红宝书源代码」· C,V 代码 · 共 45 行
C,V
45 行
head 1.1;
access;
symbols;
locks
dls:1.1; strict;
comment @ * @;
1.1
date 94.01.14.03.51.20; author dls; state v2e1;
branches;
next ;
desc
@@
1.1
log
@Initial revision
@
text
@/* uqfree.c - uqfree */
#include <conf.h>
#include <kernel.h>
#include <network.h>
/*------------------------------------------------------------------------
* uqfree - free an urgent queue entry
*------------------------------------------------------------------------
*/
int uqfree(puqe)
struct uqe *puqe;
{
wait(uqmutex);
if (puqe->uq_data)
freebuf(puqe->uq_data);
puqe->uq_state = UQS_FREE;
signal(uqmutex);
return OK;
}
@
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?