Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-11-10 11:11:23 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
922cdc5512031bd21e93d4dff5a491353f355634
922cdc55
2 parents
aa893239
6bde1e54
Merge branch 'srs.master'
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
7 行增加
和
0 行删除
trunk/research/st/sched.c
trunk/research/st/sched.c
查看文件 @
922cdc5
...
...
@@ -546,6 +546,13 @@ _st_thread_t *st_thread_create(void *(*start)(void *arg), void *arg, int joinabl
/* Allocate thread object and per-thread data off the stack */
#if defined (MD_STACK_GROWS_DOWN)
sp
=
stack
->
stk_top
;
/*
* The stack segment is split in the middle. The upper half is used
* as backing store for the register stack which grows upward.
* The lower half is used for the traditional memory stack which
* grows downward. Both stacks start in the middle and grow outward
* from each other.
*/
sp
=
sp
-
(
ST_KEYS_MAX
*
sizeof
(
void
*
));
ptds
=
(
void
**
)
sp
;
sp
=
sp
-
sizeof
(
_st_thread_t
);
...
...
请
注册
或
登录
后发表评论