Changeset e7c7bf in git


Ignore:
Timestamp:
Nov 11, 2013, 5:15:21 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '5bec8f88c9ee2573d328cf7c3aff2bcb301d2395')
Children:
06bfde780efc53dcc6bf6a016167c532e2fad527
Parents:
7182afefe64dc172934e43d450081b081383ad2f
Message:
fix: syntax in m2_end
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/misc_ip.cc

    r7182af re7c7bf  
    10641064    m2_end_called = TRUE;
    10651065#ifdef HAVE_SIMPLEIPC
    1066     for (int i = SIPC_MAX_SEMAPHORES; i >= 0; i--)
    1067     {
    1068       if (semaphore[i] != NULL)
    1069       {
    1070         while (sem_acquired[i] > 0)
     1066    for (int j = SIPC_MAX_SEMAPHORES; j >= 0; j--)
     1067    {
     1068      if (semaphore[j] != NULL)
     1069      {
     1070        while (sem_acquired[j] > 0)
    10711071        {
    1072           sem_post(semaphore[i]);
    1073           sem_acquired[i]--;
     1072          sem_post(semaphore[j]);
     1073          sem_acquired[j]--;
    10741074        }
    10751075      }
Note: See TracChangeset for help on using the changeset viewer.