?? ss_queue.x
字號:
/********************************************************************20**
Name: System Services -- Queueing
Type: C include file
Desc: System Services queuing functions.
File: ss_queue.x
Sid: ss_queue.x 1.2 - 08/11/98 10:47:19
Prg: bsr
*********************************************************************21*/
#ifndef __SSQUEUEX__
#define __SSQUEUEX__
#ifdef __cplusplus
extern "C" {
#endif
/* demand queue structure */
typedef struct ssDmndQ
{
SsSemaId dmndQSema; /* lock for queue access */
SLockId dmndQLock[SS_DQ_BIT_MASK_LEN]; /* lock for each byte in
* bitmask */
Queue queue[SS_MAX_NUM_DQ]; /* the queues */
U8 bitMask[SS_DQ_BIT_MASK_LEN]; /* bit mask */
} SsDmndQ;
/* functions */
EXTERN S16 ssInitDmndQ ARGS((SsDmndQ *queue));
EXTERN S16 ssDestroyDmndQ ARGS((SsDmndQ *queue));
EXTERN S16 ssDmndQPut ARGS((SsDmndQ *queue, Buffer *mBuf, \
Prior prior, Order order));
EXTERN S16 ssDmndQGet ARGS((SsDmndQ *queue, Buffer **mBuf, \
Order order));
EXTERN S16 ssFndLenDmndQ ARGS((SsDmndQ *queue, Prior prior, QLen *len));
#ifdef __cplusplus
}
#endif
#endif /* __SSQUEUEX__ */
/********************************************************************30**
End of file: ss_queue.x 1.2 - 08/11/98 10:47:19
*********************************************************************31*/
/********************************************************************40**
Notes:
*********************************************************************41*/
/********************************************************************50**
*********************************************************************51*/
/********************************************************************60**
Revision history:
*********************************************************************61*/
/********************************************************************90**
ver pat init description
------------ -------- ---- ----------------------------------------------
1.1 --- bsr 1. initial release.
1.2 --- kp 1. C++ compilable, cosmetic changes
*********************************************************************91*/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -