Meco Man
|
c360688714
|
使用poll.h代替dfs_poll.h
|
2021-09-11 11:56:54 -04:00 |
malongwei
|
5fb6cb8b41
|
修复ringblk_buf在不使用动态内存时报错的问题
|
2021-09-01 19:58:23 +08:00 |
chenyingchun0312
|
39689ea5ed
|
Merge branch 'develop' of https://github.com/chenyingchun0312/rt-thread into develop
|
2021-08-23 18:54:03 +08:00 |
陈迎春
|
f0c963bf53
|
Merge branch 'RT-Thread:master' into develop
|
2021-08-23 18:53:42 +08:00 |
chenyingchun0312
|
5e02709c55
|
【doc】update completion.c comments
|
2021-08-23 18:52:31 +08:00 |
guo
|
a98860d146
|
Merge pull request #4942 from Jackistang/master
[add] add commets for ringbuffer and workqueue.
|
2021-08-19 09:51:37 +08:00 |
Jackistang
|
4c6b4028e3
|
Update the comments for ringbuffer and workqueue.
|
2021-08-18 22:51:00 +08:00 |
Bernard Xiong
|
69cd36b5d0
|
Merge pull request #4905 from mysterywolf/rb
[ringbuffer] rt_ringbuffer_data_len采用局部变量承接,防止出现资源竞争
|
2021-08-18 19:24:13 +08:00 |
chenyingchun0312
|
a6870449ba
|
【doc】update completion.c comments
|
2021-08-18 14:10:50 +08:00 |
Jackistang
|
3de03a072e
|
修改 ringbuffer 和 workqueue 注释的语法
|
2021-08-18 09:44:52 +08:00 |
Jackistang
|
6173c9d7d5
|
fix comments error in ringbuffer and workqueue.
|
2021-08-17 22:44:29 +08:00 |
chenyingchun0312
|
7f2aaa210c
|
【doc】format drivers/src/completion.c
|
2021-08-16 13:10:26 +08:00 |
chenyingchun0312
|
96f773ffa9
|
【doc】add the annotation of device-ipc completion
|
2021-08-15 21:27:14 +08:00 |
Jackistang
|
99de1a6220
|
format code
|
2021-08-14 14:32:58 +08:00 |
Jackistang
|
1b7468979f
|
[ringbuffer] 添加 ringbuffer 的接口注释
|
2021-08-14 13:47:05 +08:00 |
Jackistang
|
0b4603d581
|
[workqueue] 添加了 workqueue 接口的注释
|
2021-08-14 11:10:43 +08:00 |
Meco Man
|
94ed55f34d
|
[workqueue] remove rt_delayed_work_init()
|
2021-08-01 17:26:01 +08:00 |
Meco Man
|
619fa4d9d8
|
[ringbuffer] 采用局部变量,防止出现资源竞争
|
2021-07-31 02:20:20 +08:00 |
rtthread-bot
|
26acd64cb1
|
Merge remote-tracking branch 'rtt_gitee/gitee_master'
|
2021-07-30 16:26:31 +00:00 |
Meco Man
|
a8ed7b7769
|
[workqueue] 将rt_work_sys_workqueue_init函数私有化
|
2021-07-22 18:24:56 +08:00 |
arminker
|
2439232c8a
|
bugfix:write_index bug in rt_ringbuffer_put_force
|
2021-07-20 15:47:03 +08:00 |
Meco Jianting Man
|
4fd4074617
|
Merge branch 'RT-Thread:master' into ioctl
|
2021-06-13 16:19:59 +08:00 |
Meco Man
|
740a810274
|
[errno][libc] 解决sys头文件在libc未开启时的引入问题
|
2021-06-12 18:11:51 +08:00 |
Meco Man
|
07cab33b50
|
add sys/ioctl.h for pipe.c
|
2021-05-23 00:30:29 +08:00 |
Meco Man
|
75ae0a544b
|
NULL -> RT_NULL
|
2021-04-01 23:04:53 +08:00 |
wanghaijing
|
78c370d793
|
pipe name depend on RT_NAME_MAX
|
2021-03-27 11:56:50 +08:00 |
Bernard Xiong
|
b12615f344
|
Merge pull request #4427 from mysterywolf/components
[components] auto & manual formatted
|
2021-03-16 13:53:54 +08:00 |
Bernard Xiong
|
8bb2817d35
|
Merge pull request #4366 from whj4674672/wqueue
[fix] wait queue flag 赋的值使用宏
|
2021-03-09 20:59:28 +08:00 |
Meco Man
|
3c05a4e719
|
[compoenets] auto & manual formatted
|
2021-03-08 18:19:04 +08:00 |
tangyuxin
|
4f2359d34c
|
[workqueue] 修复临界条件线程意外挂起问题
线程判断任务链表为空时,开中断挂起线程,在挂起线程的过程中,提交的任务不会被执行。
将线程的挂起与恢复放在中断保护内,确保挂起挂起恢复是一个完整的过程
|
2021-02-22 17:10:33 +08:00 |
tangyuxin
|
791b8a35de
|
[workqueue] 系统默认工作队列初始化阶段提前
|
2021-02-22 11:23:20 +08:00 |
wanghaijing
|
b39a7c4822
|
[fix] flag 的赋值使用宏的方式
|
2021-02-22 10:12:49 +08:00 |
tangyuxin
|
a96156faf1
|
[workqueue] 提交正在执行的工作,返回 BUSY
|
2021-02-07 10:30:25 +08:00 |
tangyuxin
|
83dca09e1c
|
[workqueue] 修复提交工作后立即取消,获取无效工作任务的问题
当高优先级任务提交工作后,立即取消。此时队列被唤醒,下面紧接着获取链表中第一个任务。但此时已经是空链表了。
每次线程被唤醒。检查当前任务链表是否未空
|
2021-02-06 21:54:25 +08:00 |
tangyuxin
|
7eabe5c9e9
|
[workqueue] 取消正在执行的工作返回BUSY
|
2021-02-06 20:39:52 +08:00 |
tangyuxin
|
3ef3fb50af
|
[workqueue] 队列销毁时取消所有工作并释放内核对象
|
2021-02-06 20:15:50 +08:00 |
tangyuxin
|
d6b44ca52e
|
[workqueue] 支持取消延时工作任务
|
2021-02-06 20:08:31 +08:00 |
tangyuxin
|
0230d32ca0
|
添加断言及注释
|
2021-02-01 15:02:22 +08:00 |
tangyuxin
|
b42506fb73
|
优化功能重复的代码
|
2021-02-01 15:02:21 +08:00 |
tangyuxin
|
c5218b5eee
|
修复紧急工作队列插入问题
紧急工作仍插入队列尾部,先将其插入队列头部
|
2021-02-01 15:02:20 +08:00 |
tangyuxin
|
5b52e6c7e3
|
修复同步取消锁中断等信号的问题
|
2021-02-01 15:02:19 +08:00 |
tangyuxin
|
5a16a2060e
|
定时处理函数临界区保护更加完整
定时器回调函数中,添加工作之前打开了中断。此时在极端情况下,会导致状态不对。
|
2021-02-01 15:02:18 +08:00 |
tangyuxin
|
10b5aa8f59
|
合并 cancel 和 cancel_delayed 函数,优化代码体积
合并 _workqueue_cancel_work 和 _workqueue_cancel_delayed_work 函数,优化代码体积
|
2021-02-01 15:02:17 +08:00 |
tangyuxin
|
0c87becb3e
|
合并 submit 和 submit_delayed,优化代码体积
将 _workqueue_submit_delayed_work 和 _workqueue_submit_work 函数合并成一个。优化代码体积
|
2021-02-01 15:02:16 +08:00 |
Meco Man
|
a657c00e72
|
update pipe.c
|
2021-01-01 17:21:48 +08:00 |
Meco Man
|
a233495718
|
Typo: rt_data_queue_peak() in dataqueue
|
2020-12-31 16:02:42 +08:00 |
tangyuxin
|
c3ba2b07fa
|
[components][workqueue] Modify system work queue initialization level
|
2020-12-02 14:30:31 +08:00 |
malongwei
|
d6c8b46dad
|
add 'rt_ringbuffer_peak' API
|
2020-11-22 14:20:02 +08:00 |
qiyongzhong0
|
967cc968e8
|
fix difference of style
|
2020-09-18 09:45:47 +08:00 |
qiyongzhong0
|
44baf269f7
|
fix bug of dataqueue
|
2020-09-18 09:33:34 +08:00 |