BUG: ITK-based software was crasing when thread creation failed
BUG: ITK-based software was crasing when thread creation failed

The bug occured on a Fedora 24 cluster where pthread_create returns EAGAIN sometimes.

Change-Id: Ied1c0c7fd435c80005799967486cd3aa18914731

spinicist/ITK,fbudin69500/ITK,blowekamp/ITK,blowekamp/ITK,richardbeare/ITK,PlutoniumHeart/ITK,hjmjohnson/ITK,PlutoniumHeart/ITK,hjmjohnson/ITK,vfonov/ITK,PlutoniumHeart/ITK,stnava/ITK,richardbeare/ITK,vfonov/ITK,vfonov/ITK,malaterre/ITK,Kitware/ITK,blowekamp/ITK,richardbeare/ITK,fbudin69500/ITK,thewtex/ITK,thewtex/ITK,InsightSoftwareConsortium/ITK,BRAINSia/ITK,Kitware/ITK,LucasGandel/ITK,InsightSoftwareConsortium/ITK,PlutoniumHeart/ITK,richardbeare/ITK,InsightSoftwareConsortium/ITK,BRAINSia/ITK,malaterre/ITK,PlutoniumHeart/ITK,BRAINSia/ITK,fbudin69500/ITK,spinicist/ITK,richardbeare/ITK,Kitware/ITK,fbudin69500/ITK,richardbeare/ITK,malaterre/ITK,hjmjohnson/ITK,stnava/ITK,LucasGandel/ITK,vfonov/ITK,fbudin69500/ITK,LucasGandel/ITK,richardbeare/ITK,Kitware/ITK,blowekamp/ITK,stnava/ITK,malaterre/ITK,malaterre/ITK,PlutoniumHeart/ITK,spinicist/ITK,BRAINSia/ITK,stnava/ITK,thewtex/ITK,Kitware/ITK,InsightSoftwareConsortium/ITK,fbudin69500/ITK,PlutoniumHeart/ITK,thewtex/ITK,Kitware/ITK,blowekamp/ITK,hjmjohnson/ITK,InsightSoftwareConsortium/ITK,stnava/ITK,LucasGandel/ITK,malaterre/ITK,vfonov/ITK,spinicist/ITK,thewtex/ITK,blowekamp/ITK,spinicist/ITK,thewtex/ITK,InsightSoftwareConsortium/ITK,hjmjohnson/ITK,blowekamp/ITK,stnava/ITK,vfonov/ITK,BRAINSia/ITK,BRAINSia/ITK,malaterre/ITK,malaterre/ITK,Kitware/ITK,vfonov/ITK,vfonov/ITK,malaterre/ITK,spinicist/ITK,hjmjohnson/ITK,vfonov/ITK,BRAINSia/ITK,stnava/ITK,spinicist/ITK,blowekamp/ITK,thewtex/ITK,LucasGandel/ITK,spinicist/ITK,PlutoniumHeart/ITK,LucasGandel/ITK,fbudin69500/ITK,spinicist/ITK,hjmjohnson/ITK,stnava/ITK,InsightSoftwareConsortium/ITK,LucasGandel/ITK,LucasGandel/ITK,fbudin69500/ITK,stnava/ITK