commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r806310 - in /commons/sandbox/runtime/trunk/src/main/native/os/unix: pmutex.c psema.c
Date Thu, 20 Aug 2009 19:15:57 GMT
Author: mturk
Date: Thu Aug 20 19:15:56 2009
New Revision: 806310

URL: http://svn.apache.org/viewvc?rev=806310&view=rev
Log:
Retry with new name

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/unix/pmutex.c
    commons/sandbox/runtime/trunk/src/main/native/os/unix/psema.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/unix/pmutex.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/unix/pmutex.c?rev=806310&r1=806309&r2=806310&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/unix/pmutex.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/unix/pmutex.c Thu Aug 20 19:15:56 2009
@@ -103,6 +103,7 @@
             } else if (errno == EEXIST && !name) {
                 sprintf(m->name, "/AcM.%08x", _mtx_counter++);
                 rc = 0;
+                continue;
             }
         }
     } while (rc != 0);

Modified: commons/sandbox/runtime/trunk/src/main/native/os/unix/psema.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/unix/psema.c?rev=806310&r1=806309&r2=806310&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/unix/psema.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/unix/psema.c Thu Aug 20 19:15:56 2009
@@ -104,6 +104,7 @@
             } else if (errno == EEXIST && !name) {
                 sprintf(s->name, "/AcS.%08x", _sem_counter++);
                 rc = 0;
+                continue;
             }
         }
     } while (rc != 0);



Mime
View raw message