XWOS API
4.0
XWOS C/C++ API参考手册
|
XWOS通用库:无锁队列 更多...
函数 | |
static void | xwlib_lfq_init (atomic_xwlfq_t *n) |
初始化无锁队列节点 | |
static void | xwlib_lfq_push (atomic_xwlfq_t *h, atomic_xwlfq_t *n) |
将一个节点推入无锁队列(栈式队列) | |
static xwlfq_t * | xwlib_lfq_pop (atomic_xwlfq_t *h) |
弹出无锁队列中的第一个节点(栈式队列) | |
XWOS通用库:无锁队列
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
在文件 lfq.h 中定义.