diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-06-26 20:33:22 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-06-26 20:33:22 +0000 |
| commit | 10fcf738d732204a1f1e28878d68a27c5f12cf3b (patch) | |
| tree | 7c66ecc62314115c1e895c238381883363acafd8 /lib/lsan/lsan_thread.cc | |
| parent | 4658ff5fee0369e08fe69bce90019fad154d9330 (diff) | |
Notes
Diffstat (limited to 'lib/lsan/lsan_thread.cc')
| -rw-r--r-- | lib/lsan/lsan_thread.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lsan/lsan_thread.cc b/lib/lsan/lsan_thread.cc index 0ea7a6e97497..4404c8cc51d2 100644 --- a/lib/lsan/lsan_thread.cc +++ b/lib/lsan/lsan_thread.cc @@ -77,7 +77,7 @@ u32 ThreadCreate(u32 parent_tid, uptr user_id, bool detached) { /* arg */ nullptr); } -void ThreadStart(u32 tid, tid_t os_id) { +void ThreadStart(u32 tid, tid_t os_id, bool workerthread) { OnStartedArgs args; uptr stack_size = 0; uptr tls_size = 0; @@ -87,7 +87,7 @@ void ThreadStart(u32 tid, tid_t os_id) { args.tls_end = args.tls_begin + tls_size; GetAllocatorCacheRange(&args.cache_begin, &args.cache_end); args.dtls = DTLS_Get(); - thread_registry->StartThread(tid, os_id, /*workerthread*/ false, &args); + thread_registry->StartThread(tid, os_id, workerthread, &args); } void ThreadFinish() { |
