提交 12ecd2ec 编写于 作者: W wujing

Removes the definition of the thread attributes object

Signed-off-by: Nwujing <wujing50@huawei.com>
上级 dcf974b0
...@@ -572,6 +572,7 @@ static int console_init(process_t *p) ...@@ -572,6 +572,7 @@ static int console_init(process_t *p)
pthread_attr_init(&attr); pthread_attr_init(&attr);
pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
ret = pthread_create(&tid_accept, &attr, task_console_accept, ac); ret = pthread_create(&tid_accept, &attr, task_console_accept, ac);
pthread_attr_destroy(&attr);
if (ret != SHIM_OK) { if (ret != SHIM_OK) {
goto failure; goto failure;
} }
......
#!/bin/bash
# usage
# ./update-version.bash
####################################################################### #######################################################################
##- @Copyright (C) Huawei Technologies., Ltd. 2019. All rights reserved. ##- @Copyright (C) Huawei Technologies., Ltd. 2019. All rights reserved.
# - iSulad licensed under the Mulan PSL v2. # - iSulad licensed under the Mulan PSL v2.
...@@ -12,9 +16,6 @@ ...@@ -12,9 +16,6 @@
##- @Author: wujing ##- @Author: wujing
##- @Create: 2019-04-25 ##- @Create: 2019-04-25
####################################################################### #######################################################################
#!/bin/bash
# usage
# ./update-version.bash
function update_release_notes() function update_release_notes()
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册