亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? queue.h

?? 開源ZigBee 協議棧
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*
	FreeRTOS V3.2.0 - Copyright (C) 2003 - 2005 Richard Barry.

	This file is part of the FreeRTOS distribution.

	FreeRTOS is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; either version 2 of the License, or
	(at your option) any later version.

	FreeRTOS is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with FreeRTOS; if not, write to the Free Software
	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

	A special exception to the GPL can be applied should you wish to distribute
	a combined work that includes FreeRTOS, without being obliged to provide
	the source code for any proprietary components.  See the licensing section
	of http://www.FreeRTOS.org for full details of how and when the exception
	can be applied.

	***************************************************************************
	See http://www.FreeRTOS.org for documentation, latest information, license
	and contact details.  Please ensure to read the configuration and relevant
	port sections of the online documentation.
	***************************************************************************
*/

#ifndef QUEUE_H
#define QUEUE_H

typedef void * xQueueHandle;

/**
 * queue. h
 * <pre>
 * xQueueHandle xQueueCreate(
 *                            unsigned portBASE_TYPE uxQueueLength,
 *                            unsigned portBASE_TYPE uxItemSize
 *                          );
 * </pre>
 *
 * Creates a new queue instance.  This allocates the storage required by the
 * new queue and returns a handle for the queue.
 *
 * @param uxQueueLength The maximum number of items that the queue can contain.
 *
 * @param uxItemSize The number of bytes each item in the queue will require.
 * Items are queued by copy, not by reference, so this is the number of bytes
 * that will be copied for each posted item.  Each item on the queue must be
 * the same size.
 *
 * @return If the queue is successfully create then a handle to the newly
 * created queue is returned.  If the queue cannot be created then 0 is
 * returned.
 *
 * Example usage:
   <pre>
 struct AMessage
 {
    portCHAR ucMessageID;
    portCHAR ucData[ 20 ];
 };

 void vATask( void *pvParameters )
 {
 xQueueHandle xQueue1, xQueue2;

    // Create a queue capable of containing 10 unsigned long values.
    xQueue1 = xQueueCreate( 10, sizeof( unsigned portLONG ) );
    if( xQueue1 == 0 )
    {
        // Queue was not created and must not be used.
    }

    // Create a queue capable of containing 10 pointers to AMessage structures.
    // These should be passed by pointer as they contain a lot of data.
    xQueue2 = xQueueCreate( 10, sizeof( struct AMessage * ) );
    if( xQueue2 == 0 )
    {
        // Queue was not created and must not be used.
    }

    // ... Rest of task code.
 }
 </pre>
 * \defgroup xQueueCreate xQueueCreate
 * \ingroup QueueManagement
 */
xQueueHandle xQueueCreate( unsigned portBASE_TYPE uxQueueLength, unsigned portBASE_TYPE uxItemSize );

/**
 * queue. h
 * <pre>
 * portBASE_TYPE xQueueSend(
 *								xQueueHandle xQueue,
 *								const void * pvItemToQueue,
 *								portTickType xTicksToWait
 *							);
 * </pre>
 *
 * Post an item on a queue.  The item is queued by copy, not by reference.
 * This function must not be called from an interrupt service routine.
 * See xQueueSendFromISR () for an alternative which may be used in an ISR.
 *
 * @param xQueue The handle to the queue on which the item is to be posted.
 *
 * @param pvItemToQueue A pointer to the item that is to be placed on the
 * queue.  The size of the items the queue will hold was defined when the
 * queue was created, so this many bytes will be copied from pvItemToQueue
 * into the queue storage area.
 *
 * @param xTicksToWait The maximum amount of time the task should block
 * waiting for space to become available on the queue, should it already
 * be full.  The call will return immediately if this is set to 0.  The
 * time is defined in tick periods so the constant portTICK_RATE_MS
 * should be used to convert to real time if this is required.
 *
 * @return pdTRUE if the item was successfully posted, otherwise errQUEUE_FULL.
 *
 * Example usage:
   <pre>
 struct AMessage
 {
    portCHAR ucMessageID;
    portCHAR ucData[ 20 ];
 } xMessage;

 unsigned portLONG ulVar = 10UL;

 void vATask( void *pvParameters )
 {
 xQueueHandle xQueue1, xQueue2;
 struct AMessage *pxMessage;

    // Create a queue capable of containing 10 unsigned long values.
    xQueue1 = xQueueCreate( 10, sizeof( unsigned portLONG ) );

    // Create a queue capable of containing 10 pointers to AMessage structures.
    // These should be passed by pointer as they contain a lot of data.
    xQueue2 = xQueueCreate( 10, sizeof( struct AMessage * ) );

    // ...

    if( xQueue1 != 0 )
    {
        // Send an unsigned long.  Wait for 10 ticks for space to become
        // available if necessary.
        if( xQueueSend( xQueue1, ( void * ) &ulVar, ( portTickType ) 10 ) != pdPASS )
        {
            // Failed to post the message, even after 10 ticks.
        }
    }

    if( xQueue2 != 0 )
    {
        // Send a pointer to a struct AMessage object.  Don't block if the
        // queue is already full.
        pxMessage = & xMessage;
        xQueueSend( xQueue2, ( void * ) &pxMessage, ( portTickType ) 0 );
    }

	// ... Rest of task code.
 }
 </pre>
 * \defgroup xQueueSend xQueueSend
 * \ingroup QueueManagement
 */
signed portBASE_TYPE xQueueSend( xQueueHandle xQueue, const void * pvItemToQueue, portTickType xTicksToWait );

/**
 * queue. h
 * <pre>
 * portBASE_TYPE xQueueReceive(
 *                              xQueueHandle xQueue,
 *                              void *pcBuffer,
 *                              portTickType xTicksToWait
 *                            );</pre>
 *
 * Receive an item from a queue.  The item is received by copy so a buffer of
 * adequate size must be provided.  The number of bytes copied into the buffer
 * was defined when the queue was created.
 *
 * This function must not be used in an interrupt service routine.  See
 * xQueueReceiveFromISR for an alternative that can.
 *
 * @param pxQueue The handle to the queue from which the item is to be
 * received.
 *
 * @param pcBuffer Pointer to the buffer into which the received item will
 * be copied.
 *
 * @param xTicksToWait The maximum amount of time the task should block
 * waiting for an item to receive should the queue be empty at the time
 * of the call.    The time is defined in tick periods so the constant
 * portTICK_RATE_MS should be used to convert to real time if this is required.
 *
 * @return pdTRUE if an item was successfully received from the queue,
 * otherwise pdFALSE.
 *
 * Example usage:
   <pre>
 struct AMessage
 {
    portCHAR ucMessageID;
    portCHAR ucData[ 20 ];
 } xMessage;

 xQueueHandle xQueue;

 // Task to create a queue and post a value.
 void vATask( void *pvParameters )
 {
 struct AMessage *pxMessage;

    // Create a queue capable of containing 10 pointers to AMessage structures.
    // These should be passed by pointer as they contain a lot of data.
    xQueue = xQueueCreate( 10, sizeof( struct AMessage * ) );
    if( xQueue == 0 )
    {
        // Failed to create the queue.
    }

    // ...

    // Send a pointer to a struct AMessage object.  Don't block if the
    // queue is already full.
    pxMessage = & xMessage;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
捆绑紧缚一区二区三区视频| 国产一区二区三区在线看麻豆| 日韩女优av电影| 91小视频在线免费看| 欧美aaaaaa午夜精品| 亚洲欧美在线aaa| 久久亚洲捆绑美女| 91精品国产一区二区三区香蕉| av一二三不卡影片| 国产一区美女在线| 日本不卡免费在线视频| 亚洲精品视频免费看| 国产日韩精品一区二区浪潮av| 在线综合亚洲欧美在线视频 | 91高清在线观看| 国产xxx精品视频大全| 日本vs亚洲vs韩国一区三区| 亚洲精品免费电影| 国产精品嫩草久久久久| ww久久中文字幕| 日韩午夜激情免费电影| 欧美日韩中文字幕一区| 91污在线观看| 99久久精品国产一区| 国产乱子轮精品视频| 蜜桃av一区二区| 日韩精品视频网| 天堂午夜影视日韩欧美一区二区| 一区二区三区免费网站| 亚洲私人影院在线观看| 国产精品电影院| 国产精品久久国产精麻豆99网站 | 亚洲日本va午夜在线影院| 中文久久乱码一区二区| 国产日产精品一区| 国产欧美日韩激情| 中文字幕乱码一区二区免费| 国产色爱av资源综合区| 久久精品一二三| 中文字幕av一区二区三区| 欧美激情在线免费观看| 国产精品久久久久久久久免费相片 | 欧美一二三四区在线| 欧美一区二区在线免费播放| 欧美电影在哪看比较好| 6080午夜不卡| 精品国产1区二区| 久久久久久久久久电影| 欧美激情在线观看视频免费| 国产精品久久一级| 亚洲人精品午夜| 亚洲主播在线观看| 日韩精品免费专区| 韩国欧美国产1区| 国产福利一区二区三区视频在线 | 久久国产婷婷国产香蕉| 免费观看久久久4p| 国产精品一区二区黑丝| 成人免费不卡视频| 日本乱码高清不卡字幕| 69p69国产精品| 2020国产精品自拍| 中文子幕无线码一区tr| 亚洲免费av在线| 天堂蜜桃91精品| 国产精品性做久久久久久| 91在线国产福利| 欧美日韩视频一区二区| 欧美xxxxx牲另类人与| 国产精品久久久久久妇女6080| 一区二区三区高清在线| 日韩电影一二三区| 国产aⅴ精品一区二区三区色成熟| 99r国产精品| 日韩一级完整毛片| 国产精品国产自产拍高清av王其| 亚洲国产另类av| 精品一区二区三区在线播放| 99久久婷婷国产| 91精品国产色综合久久久蜜香臀| 国产日韩精品一区二区浪潮av| 一区二区三区中文字幕精品精品 | 欧美麻豆精品久久久久久| 26uuu亚洲综合色欧美| 自拍偷拍国产亚洲| 精品一区二区三区在线播放| 91免费国产视频网站| 欧美成人猛片aaaaaaa| 亚洲欧美激情在线| 久久99国产精品尤物| 色诱视频网站一区| 久久久午夜精品理论片中文字幕| 亚洲一区二区三区视频在线| 国产麻豆日韩欧美久久| 欧美日韩久久久一区| 中文一区在线播放| 蜜桃视频在线观看一区二区| 91啪九色porn原创视频在线观看| 欧美大片免费久久精品三p| 一区二区在线看| 国产成人精品免费视频网站| 日韩一区二区三区视频| 亚洲精品乱码久久久久久日本蜜臀| 国产一区二区三区四区五区入口 | 亚洲视频网在线直播| 久久国产精品免费| 欧美中文字幕不卡| 国产精品美女久久久久aⅴ| 久久精品噜噜噜成人av农村| 欧美日韩中字一区| 一区二区三区四区国产精品| 国产凹凸在线观看一区二区| 日韩精品在线网站| 日韩高清在线观看| 欧美亚洲日本国产| 亚洲天堂免费在线观看视频| 成人黄色a**站在线观看| 欧美精品一区在线观看| 免费成人av在线播放| 欧美日本不卡视频| 亚洲一区二区美女| 色婷婷精品大视频在线蜜桃视频| 中文字幕不卡三区| 高清日韩电视剧大全免费| 久久久久亚洲综合| 国产又粗又猛又爽又黄91精品| 日韩三级.com| 另类小说一区二区三区| 91精品欧美综合在线观看最新| 亚洲gay无套男同| 欧美亚洲一区二区三区四区| 亚洲一区二区三区小说| 色哟哟国产精品| 亚洲国产乱码最新视频| 欧美视频一区二区三区在线观看 | 精品国产免费人成在线观看| 理论电影国产精品| 日韩欧美美女一区二区三区| 另类的小说在线视频另类成人小视频在线 | 欧美tk丨vk视频| 老司机免费视频一区二区| 日韩欧美一区电影| 国产在线播放一区三区四| 国产亚洲精品精华液| 国产一区美女在线| 国产精品嫩草99a| 91麻豆文化传媒在线观看| 亚洲精品免费在线观看| 欧美午夜免费电影| 日本中文字幕一区二区视频| 精品国产一区二区三区不卡| 国产美女一区二区三区| 欧美国产在线观看| 色先锋aa成人| 天堂成人免费av电影一区| 欧美大黄免费观看| 国产999精品久久| 亚洲黄色av一区| 91麻豆精品国产综合久久久久久| 麻豆精品视频在线| 中文字幕免费不卡在线| 在线免费精品视频| 麻豆精品国产传媒mv男同| 中文字幕不卡在线| 欧美午夜精品电影| 精品亚洲porn| **性色生活片久久毛片| 69堂精品视频| 粉嫩一区二区三区性色av| 亚洲激情第一区| 一区二区三区美女视频| 日韩一区二区三区四区五区六区| 国产成人在线观看免费网站| 亚洲精品欧美在线| 精品国产凹凸成av人网站| 91蝌蚪porny九色| 免费av成人在线| 日韩伦理免费电影| 日韩欧美卡一卡二| 色呦呦日韩精品| 激情久久五月天| 亚洲午夜成aⅴ人片| 久久夜色精品国产欧美乱极品| 日本高清免费不卡视频| 久热成人在线视频| 一区二区三区精品在线| 久久久噜噜噜久噜久久综合| 在线观看亚洲专区| 国产精品羞羞答答xxdd| 视频一区中文字幕国产| 国产精品丝袜91| 欧美tk丨vk视频| 欧美三级韩国三级日本三斤| 国产精品1区2区| 蜜臀久久99精品久久久画质超高清| 自拍偷拍亚洲欧美日韩| 久久久电影一区二区三区| 欧美精品在线观看一区二区| thepron国产精品| 国产在线视频一区二区|