From: wolf Date: Fri, 20 Dec 2002 00:11:00 +0000 (+0000) Subject: Simplify EAGAIN condition around pthread_create X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=937b4064493901ad901db7fd6dcf41ee042fc745;p=dealii-svn.git Simplify EAGAIN condition around pthread_create git-svn-id: https://svn.dealii.org/trunk@6861 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/thread_management.cc b/deal.II/base/source/thread_management.cc index 13d632f0d6..febde08068 100644 --- a/deal.II/base/source/thread_management.cc +++ b/deal.II/base/source/thread_management.cc @@ -243,7 +243,7 @@ namespace Threads { error = pthread_create (&tid_list.back(), 0, fun_ptr, fun_data); } - while ( ! ((error == 0) || (error != EAGAIN))); + while (error == EAGAIN); Assert (error == 0, ExcInternalError()); };