semaphore.h

来自「lwIP-Softools-11Jul2002-alpha」· C头文件 代码 · 共 23 行

H
23
字号
/* * Network initialization and utilization functions for lwIP for the * Softools Compiler and Rabbit 2000 * * (C) 2002 Compendium Technologies, Inc. * (C) 2002 Softools, Inc. * All rights reserved. * * This software is the proprietary information of Compendium Technologies, Inc. * and Softools, Inc. Use is subject to license terms. */#ifndef _SEMAPHORE_H_#define _SEMAPHORE_H_typedef signed char semaphore;#define SEMAPHORE_SLOTS               10#define SEMAPHORE_UNALLOCATED         0#define SEMAPHORE_ALLOCATED           1#define SEMAPHORE_TEST_TIMEOUT_MILLIS 10#endif /* _SEMAPHORE_H_ */

⌨️ 快捷键说明

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