XWOS API
4.0
XWOS C/C++ API参考手册
|
XWLUA库:XWOS内核 更多...
#include <xwos/standard.h>
#include <xwos/osal/lock/mtx.h>
#include <xwos/osal/sync/sem.h>
#include <xwos/osal/sync/cond.h>
#include <xwos/osal/sync/flg.h>
#include <xwos/osal/sync/br.h>
#include <xwos/osal/sync/sel.h>
#include "xwem/vm/lua/src/lauxlib.h"
函数 | |
void | xwlua_mtx_register (lua_State *L, const char *name, struct xwos_mtx *mtx) |
注册互斥锁对象 | |
void | xwlua_sem_register (lua_State *L, const char *name, struct xwos_sem *sem) |
注册信号量对象 | |
void | xwlua_cond_register (lua_State *L, const char *name, struct xwos_cond *cond) |
注册条件量对象 | |
void | xwlua_flg_register (lua_State *L, const char *name, struct xwos_flg *flg) |
注册事件标志对象 | |
void | xwlua_br_register (lua_State *L, const char *name, struct xwos_br *br) |
注册线程栅栏对象 | |
void | xwlua_sel_register (lua_State *L, const char *name, struct xwos_sel *sel) |
注册信号选择器对象 | |
XWLUA库:XWOS内核
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
在文件 xwos.h 中定义.