~ubuntu-branches/ubuntu/wily/ginkgocadx/wily-proposed

« back to all changes in this revision

Viewing changes to src/cadxcore/api/iwaitqueue.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2013-10-24 21:28:17 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20131024212817-ej1skb9og09d3ht6
Tags: 3.5.0.1137.31+dfsg-1
New upstream release [October 2013]

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *  $Id: iwaitqueue.cpp $
4
4
 *  Ginkgo CADx Project
5
5
 *
6
 
 *  Copyright 2008-12 MetaEmotion S.L. All rights reserved.
 
6
 *  Copyright 2008-14 MetaEmotion S.L. All rights reserved.
7
7
 *  http://ginkgo-cadx.com
8
8
 *
9
9
 *  This file is licensed under LGPL v3 license.
194
194
 
195
195
void GNC::GCS::NotifyQueue::NotifyAll() {
196
196
 
197
 
        GNC::GCS::ILocker lock(RegistryLock);
198
 
 
199
 
        for (unsigned int i = 0; i < RegistryCount; i++) {
200
 
                NotifyObject->Post();
 
197
        GNC::GCS::ILocker lock(RegistryLock);
 
198
 
 
199
        for (unsigned int i = 0; i < RegistryCount; i++) {
 
200
                NotifyObject->Post();
201
201
        }
202
202
 
203
203
}