📄 queue.h
字号:
/***************************************************************************
*
* Copyright (c) 1993 READY SYSTEMS CORPORATION.
*
* All rights reserved. READY SYSTEMS' source code is an unpublished
* work and the use of a copyright notice does not imply otherwise.
* This source code contains confidential, trade secret material of
* READY SYSTEMS. Any attempt or participation in deciphering, decoding,
* reverse engineering or in any way altering the source code is
* strictly prohibited, unless the prior written consent of
* READY SYSTEMS is obtained.
*
*
* Module Name: queue.h
*
* Identification: @(#) 1.5 queue.h
*
* Date: 5/3/93 14:57:27
*
****************************************************************************
*/
#include <vrtxil.h>
class Queue {
public:
Queue (unsigned count, int pend_order = VRTX_PEND_ORDER_FIFO, int id = -1);
~Queue ();
void *receive ();
int receive (void *&message, unsigned long timeout = 0);
int send (void *message);
int accept (void *&message);
int count ();
int id ();
void broadcast (void *message);
int jam (void *message);
int first (void *&message);
private:
int qid;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -