File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ using FastMutexType = pthread_mutex_t;
42
42
using ThreadFunctionType = void * (*)(void *);
43
43
using ThreadProcessIdType = pthread_t ;
44
44
# if !defined(ITK_FUTURE_LEGACY_REMOVE)
45
- constexpr ThreadProcessIdType ITK_DEFAULT_THREAD_ID = 0 ;
45
+ constexpr ThreadProcessIdType ITK_DEFAULT_THREAD_ID = {} ;
46
46
# endif
47
47
using ITK_THREAD_RETURN_TYPE = void *;
48
48
/* * @ITKEndGrouping */
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ ThreadProcessIdType
169
169
PlatformMultiThreader::SpawnDispatchSingleMethodThread (PlatformMultiThreader::WorkUnitInfo * threadInfo)
170
170
{
171
171
// Using POSIX threads
172
- pthread_t threadHandle = 0 ;
172
+ pthread_t threadHandle = {} ;
173
173
const int threadError = pthread_create (&threadHandle,
174
174
nullptr ,
175
175
reinterpret_cast <c_void_cast>(this ->SingleMethodProxy ),
You can’t perform that action at this time.
0 commit comments