~ubuntu-branches/ubuntu/raring/virtualbox-ose/raring

« back to all changes in this revision

Viewing changes to src/VBox/Main/glue/AutoLock.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-01-30 23:27:25 UTC
  • mfrom: (0.3.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20110130232725-2ouajjd2ggdet0zd
Tags: 4.0.2-dfsg-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add Apport hook.
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Drop *-source packages.
* Drop ubuntu-01-fix-build-gcc45.patch, fixed upstream.
* Drop ubuntu-02-as-needed.patch, added to the Debian package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
336
336
    CountsVector    acUnlockedInLeave;  // for each lock handle, how many times the handle was unlocked in leave(); otherwise 0
337
337
 
338
338
#ifdef VBOX_WITH_MAIN_LOCK_VALIDATION
339
 
    // information about where the lock occured (passed down from the AutoLock classes)
 
339
    // information about where the lock occurred (passed down from the AutoLock classes)
340
340
    const char      *pcszFile;
341
341
    unsigned        uLine;
342
342
    const char      *pcszFunction;
676
676
}
677
677
 
678
678
 /**
679
 
 * Returns the current write lock level of the managed smaphore. The lock
 
679
 * Returns the current write lock level of the managed semaphore. The lock
680
680
 * level determines the number of nested #lock() calls on the given
681
681
 * semaphore handle. Returns @c 0 if the managed semaphore is @c
682
682
 * NULL.