提交 eec3cb09 authored 作者: Michael Jerris's avatar Michael Jerris

typo

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@58 a93c3328-9c30-0410-af19-c9cd2b2d52af
上级 d072950e
......@@ -110,7 +110,7 @@ zap_status_t zap_thread_create_detached_ex(zap_thread_function_t func, void *dat
if (pthread_attr_setdetachstate(&thread->attribute, PTHREAD_CREATE_DETACHED) != 0) goto fail;
if (stacksize && pthread_attr_setstacksize(&thread->attribute, stacksize) != 0) goto fail;
if (stacksize && pthread_attr_setstacksize(&thread->attribute, thread->stack_size) != 0) goto fail;
if (pthread_create(&thread->handle, &thread->attribute, thread_launch, thread) != 0) goto fail;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论