⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 txc_os_queue.h

📁 TranSwitch Envoy CE2 & Envoy CE4 设备驱动及编程指南
💻 H
字号:
/*--------------------------------------------------------------------------

  *******                           ****
     *     *****     **    *    *  *       *    *   *  *****   ****   *    *
     *     *    *   *  *   **   *  *       *    *   *    *    *    *  *    *
     *     *    *  *    *  * *  *   ****   *    *   *    *    *       ******
     *     *****   ******  *  * *       *  * ** *   *    *    *       *    *
     *     *   *   *    *  *   **  *    *  **  **   *    *    *    *  *    *
     *     *    *  *    *  *    *   ****   *    *   *    *     ****   *    *

                        Proprietary and Confidential 

    This program is made available only to customers and prospective customers 
of TranSwitch Corporation under license and may be used only with TranSwitch 
semi-conductor products.

                      Copyright(c) 2004 TranSwitch Inc.
|-----------------------------------------------------------------------|
|																		|
|                      ********        ******							|
|                     **      **      **    **							|
|                     **      **       **    *							|
|                     **      **        **								|
|                     **      **         **								|
|                     **      **          **							|
|                     **      **       *   ***							|
|                     **      **      **    **							|
|		               ********        ******							|
|																		|
|-----------------------------------------------------------------------|
|                       Queue Header File								|
|-----------------------------------------------------------------------|
|																		|
|  Workfile:  txc_os_queue.h											|
|																		|
|  Description:	this file contains all defines for queue managements	|
|																		|
-------------------------------------------------------------------------
                           Revision History
-------------------------------------------------------------------------
Rev #	Date		Author			Description
-----	------		-------			-----------
1.0		06-Feb-01	L. Olah			Initial Revision.

-----------------------------------------------------------------------*/

#ifndef TXC_OS_QUEUE_H
#define TXC_OS_QUEUE_H


 /***********************************************************************
 **                            Defines                                **
 ***********************************************************************/
/* delay times */
#define TXC_OS_QUEUE_WAIT_FOREVER 0xffffffff
#define TXC_OS_QUEUE_WAIT_NEVER 0
#define TXC_VXWORKS_MSG_LEN		4

/***********************************************************************
 **                          DataStructures                           **
 ***********************************************************************/


/***********************************************************************
 **                       Exported Variables                          **
 ***********************************************************************/


 /***********************************************************************
 **                       Function Prototypes                         **
 ***********************************************************************/

TXC_U16BIT TXC_CreateQueue(TXC_QUEUE_ID* queueIdPtr, TXC_U16BIT maxDepth, 
	TXC_U16BIT lowWaterMark, TXC_U16BIT highWaterMark, const char * name);
TXC_U16BIT TXC_Enqueue(TXC_QUEUE_ID queueId, TXC_VOID_PTR bufferPtr);
TXC_U16BIT TXC_Dequeue(TXC_QUEUE_ID queueId, TXC_VOID_PTR * bufferPtrPtr, 
   TXC_U32BIT milliSecondWait);
TXC_U16BIT TXC_DeleteQueue(TXC_QUEUE_ID queueId);


#endif /* TXC_OS_QUEUE_H */

⌨️ 快捷键说明

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