瀏覽代碼

sys: fix an idiotic bug in the thread class.

undefined
Sam Hocevar 11 年之前
父節點
當前提交
9cf137e47d
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      src/sys/threadbase.h

+ 2
- 1
src/sys/threadbase.h 查看文件

@@ -262,7 +262,8 @@ private:
class thread_base
{
public:
thread_base(std::function<void(void)>)
thread_base(std::function<void(void)> function)
: m_function(function)
{
#if defined HAVE_PTHREAD_H
/* Set the joinable attribute for systems who don't play nice */


Loading…
取消
儲存