| Age | Commit message (Collapse) | Author |
|
[DeviceDriver][IPC] Fix rbb free bug in rt_rbb_destroy.
|
|
|
|
|
|
|
|
1. 可直接提交延时任务, 无需额外调用延时初始化
2. 修复延时任务 PENDING 时,取消任务会递归调用的问题
|
|
|
|
|
|
workqueue thread.
|
|
[libc] Fix the unamed pipe close issue
|
|
|
|
|
|
|
|
Signed-off-by: armink <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There is a memory leak issue when close a pipe.
|
|
|
|
1. Add macro check in rtdebug.h;
2. Use RT_USING_POSIX for poll/select, stdin etc.
3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
|
|
|
|
method/functions.
|
|
1. Change 'rt_uint8_t' type of cmd to 'int';
2. Add waitqueue;
3. Split device ipc header files;
|
|
|
|
|
|
|
|
@grissiom suggestion.
|
|
empty
|
|
|
|
|
|
isn't reset.
|
|
|
|
Remove dataqueue/pipe if not enable RT_USING_HEAP, supply the missing `not`.
|
|
|
|
fix: completion wait after, maybe can't clean the flag.
|
|
OXape reports: http://www.rt-thread.org/phpBB3/topic3939.html
driver/ringbuffer: when data length is bigger than space length
for rb, the read_index in rb is not update.
When length > space, update the read_index, the bug can be fix, and
works fine.
|
|
|
|
|
|
|
|
When forwarding rx/tx callback from the underlaying device(pipe), the
"dev" argument should be the portal. So the portal callback could think
itself as called.
|
|
It does not make sense to open portal without a flag. One should open a
portal with RT_DEVICE_OFLAG_RDWR in most cases.
|