~ubuntu-branches/ubuntu/quantal/nspr/quantal-security

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/src/threads/combined/prucv.c

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2009-08-10 11:34:26 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090810113426-3uv4diflrkcbdimm
Tags: 4.8-0ubuntu1
* New upstream release: 4.8 (LP: #387812)
* adjust patches to changed upstreanm codebase
  - update debian/patches/99_configure.patch
* update shlibs symbols to include new API elements
  - update debian/libnspr4-0d.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
299
299
    _PR_CVAR_LOCK(cvar);
300
300
    q = cvar->condQ.next;
301
301
    while (q != &cvar->condQ) {
302
 
#ifndef XP_MAC
303
302
        PR_LOG(_pr_cvar_lm, PR_LOG_MIN, ("_PR_NotifyCondVar: cvar=%p", cvar));
304
 
#endif
305
303
        if (_PR_THREAD_CONDQ_PTR(q)->wait.cvar)  {
306
304
            if (_PR_NotifyThread(_PR_THREAD_CONDQ_PTR(q), me) == PR_TRUE)
307
305
                break;
348
346
    elapsed = now - cpu->last_clock;
349
347
    cpu->last_clock = now;
350
348
 
351
 
#ifndef XP_MAC
352
349
    PR_LOG(_pr_clock_lm, PR_LOG_MAX,
353
350
           ("ExpireWaits: elapsed=%lld usec", elapsed));
354
 
#endif
355
351
 
356
352
    while(1) {
357
353
        _PR_SLEEPQ_LOCK(cpu);