David Lin
e9d930070d
Update pipe.c
2020-04-13 07:20:29 +08:00
David Lin
ff09587d23
[components/drivers] update pipe.c
...
Fixed stackover flow bug when create pipe->fifo
2020-04-12 11:58:33 +08:00
yangjie
1d7b34f471
[components][dataqueue]修改is_init为magic数
2020-04-08 11:05:37 +08:00
yangjie
dfcd38b74d
[components][dataqueue]add rt_data_queue_deinit
2020-04-07 17:36:56 +08:00
Bernard Xiong
9111aca176
Merge pull request #3279 from armink/fix_rbb
...
[DeviceDriver][IPC] Fix rbb free bug in rt_rbb_destroy.
2019-12-19 14:59:29 +08:00
armink
6228ff5e98
[DeviceDriver][IPC] Fix rbb free bug in rt_rbb_destroy.
2019-12-19 10:39:55 +08:00
Bernard Xiong
7a00b42e97
Update pipe.c
2019-12-18 23:19:54 +08:00
Bernard Xiong
055061a639
[DeviceDrivers] Fix pipe memory issue.
2019-12-18 21:38:05 +08:00
tangyuxin
badd211457
[components][drivers][ipc] 完善工作队列,增强稳定性
...
1. 可直接提交延时任务, 无需额外调用延时初始化
2. 修复延时任务 PENDING 时,取消任务会递归调用的问题
2019-08-05 14:18:15 +08:00
tyustli
d8eb0cfc1e
fix kernel and framework no cast type error
2019-06-18 20:09:19 +08:00
EvalZero
83b6260b3f
[components][workqueue]improve delayed work for reinit.
2019-04-22 11:43:45 +08:00
EvalZero
c3ee1be7ee
[components][drivers][workqueue] increase the default stack size of the workqueue thread.
2019-04-03 18:26:55 +08:00
Bernard Xiong
2c8fb7022e
Merge pull request #2526 from BernardXiong/fix_pipe
...
[libc] Fix the unamed pipe close issue
2019-04-01 18:10:44 +08:00
Bernard Xiong
ff00378728
[libc] Fix the unamed pipe close issue
2019-03-31 15:21:49 +08:00
EvalZero
c7ccb4f532
[components][drivers][workqueue] add system default workqueue and delayed work.
2019-03-30 14:29:30 +08:00
misonyo
e02d6e616b
[driver/ringbuffer]illegal access to freed memory
2019-01-21 21:59:39 +08:00
armink
74232f2de4
[DeviceDriver][rbb] Add some comments and rt_rbb_blk_size/rt_rbb_blk_buf API.
...
Signed-off-by: armink <armink.ztl@gmail.com>
2018-11-22 18:08:12 +08:00
Bernard Xiong
2c0640a178
[license] Change license to Apache.
2018-10-14 19:37:18 +08:00
armink
dff8a2c513
[DeviceDriver] Add rbb (ring block buffer) data structure.
2018-09-12 08:59:58 +08:00
neverxie
3a83e5524f
[components][pipe] Fix 'pipe' command close bug when open failed.
2018-08-11 18:45:18 +08:00
Bernard Xiong
0cac9afc4b
[Kernel] clean code for indentation.
2018-06-26 12:02:03 +08:00
Bernard Xiong
ef132f3c94
[Kernel] clean code for indentation.
2018-06-26 11:57:20 +08:00
Bernard Xiong
a1a56ce1d1
[Kernel] Add flag in wait queue and fix wakeup issue.
2018-06-26 11:19:38 +08:00
armink
570ae751be
[components][drivers] Add irq lock to rt_wqueue_wait.
2018-06-12 17:10:20 +08:00
Bernard Xiong
884fb70fe9
[Kernel] Add device ops feature.
2018-06-10 17:59:17 +08:00
liang yongxiang
cc81b47be2
[components] fixed signed/unsigned mismatch warning
2018-04-09 12:05:51 +08:00
tangyuxin
5b31545970
[drivers]Fix put_force bug
2018-03-25 07:54:31 +08:00
Bernard Xiong
00c6e81ecc
[DeviceDrivers] fix type unknown issue in pipe
2017-12-31 23:52:27 +08:00
BernardXiong
8246da645d
[DeviceDrivers] fix the compiling warning.
2017-12-31 14:45:43 +08:00
bernard
09f2d42e5a
[DeviceDrivers] Add device API in pipe device.
2017-12-29 22:33:39 +08:00
JasonJiaJie
ef219c20c2
[Driver][Pipe]Memory leak issue when close a pipe.
...
There is a memory leak issue when close a pipe.
2017-11-09 16:49:46 +08:00
bernard
a8a7d60877
[DeviceDrivers] Remove compiling warning in workqueue.
2017-10-18 09:29:30 +08:00
bernard
8a38307e2c
[libc] Add RT_USING_POSIX macro.
...
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;
2017-10-17 22:27:06 +08:00
bernard
19aa36e830
[DeviceDrivers] Add sync mode in work queue.
2017-10-17 17:53:01 +08:00
ArdaFu
fc7abc6580
[components][drivers] Check macro "RT_USING_DFS" when using DFS relative method/functions.
2017-10-16 15:12:35 +08:00
bernard
d7087fdd3b
[DeviceDrivers] change cmd type.
...
1. Change 'rt_uint8_t' type of cmd to 'int';
2. Add waitqueue;
3. Split device ipc header files;
2017-10-15 22:56:46 +08:00
Bernard Xiong
c442db81fc
[DeviceDrivers] Fix the re-work issue in workqueue.
2017-02-27 00:58:11 +08:00
bernard
b4757b950f
[DeviceDrivers] Add critical_work for wqueue.
2017-01-31 13:17:04 +08:00
armink
c414bdaac8
[DeviceDrivers]Modify the dataqueue comments.
2016-11-02 08:17:24 +08:00
armink
6fe47a9537
[DeviceDrivers]Improve dataqueue resume suspended thread code. Thanks for @grissiom suggestion.
2016-10-31 15:08:55 +08:00
armink
0970cf03a4
[DeviceDrivers]Reset dataqueue waiting_lwm flag when suspended_push_list is empty
2016-10-31 14:47:48 +08:00
armink
bda6543305
[DeviceDrivers]Fix dataqueue irq not resume bug.
2016-10-29 14:35:07 +08:00
armink
7860ea4f83
[DeviceDrivers]Fix dataqueue calculate put and get buffer index bug.
2016-10-19 10:54:22 +08:00
armink
f2c31eebb5
[DeviceDrivers]Fix dataqueue's bug when push data is timeout the lwm flag isn't reset.
2016-10-19 10:49:42 +08:00
Bernard Xiong
77b5098ae2
[DeviceDriver] Add more exported symbols for completion.
2015-05-11 12:33:15 +08:00
ItsEddy
16bf2e7255
[DeviceDriver] Fix inverted logic on SConscript
...
Remove dataqueue/pipe if not enable RT_USING_HEAP, supply the missing `not`.
2015-04-04 02:17:26 +08:00
Bernard Xiong
40db28cfec
[DeviceDriver] Remove dataqueue/pipe if not enable RT_USING_HEAP
2015-03-31 06:17:49 +00:00
KodakWang
29fd52dfb8
Update completion.c
...
fix: completion wait after, maybe can't clean the flag.
2015-03-24 15:54:08 +08:00
Bright Pan
2d67fe6565
[Driver/ringbuffer]: Fix put_force bug
...
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.
2015-01-23 13:27:52 +08:00
Bernard Xiong
0ad17f462d
[DeviceDrivers] Add modification under Linux
2014-08-04 16:40:40 +08:00