Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Modules/Core/Common/include/itkThreadSupport.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ using FastMutexType = pthread_mutex_t;
using ThreadFunctionType = void * (*)(void *);
using ThreadProcessIdType = pthread_t;
# if !defined(ITK_FUTURE_LEGACY_REMOVE)
constexpr ThreadProcessIdType ITK_DEFAULT_THREAD_ID = 0;
constexpr ThreadProcessIdType ITK_DEFAULT_THREAD_ID = {};
# endif
using ITK_THREAD_RETURN_TYPE = void *;
/** @ITKEndGrouping */
Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/Common/src/itkPlatformMultiThreaderPosix.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ ThreadProcessIdType
PlatformMultiThreader::SpawnDispatchSingleMethodThread(PlatformMultiThreader::WorkUnitInfo * threadInfo)
{
// Using POSIX threads
pthread_t threadHandle = 0;
pthread_t threadHandle = {};
const int threadError = pthread_create(&threadHandle,
nullptr,
reinterpret_cast<c_void_cast>(this->SingleMethodProxy),
Expand Down
Loading