~vorlon/ubuntu/natty/eglibc/multiarch

« back to all changes in this revision

Viewing changes to nptl/pthread_cond_wait.c

  • Committer: Steve Langasek
  • Date: 2011-02-18 21:18:44 UTC
  • mfrom: (103.1.7 eglibc)
  • Revision ID: steve.langasek@linaro.org-20110218211844-lodmi8b1qhyq3f3x
Tags: 2.13~pre1-0ubuntu1+multiarch.1
merge from natty

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2003, 2004, 2006, 2007 Free Software Foundation, Inc.
 
1
/* Copyright (C) 2003,2004,2006,2007,2011 Free Software Foundation, Inc.
2
2
   This file is part of the GNU C Library.
3
3
   Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2003.
4
4
 
101
101
  int pshared = (cond->__data.__mutex == (void *) ~0l)
102
102
                ? LLL_SHARED : LLL_PRIVATE;
103
103
 
104
 
  /* Make sure we are along.  */
 
104
  /* Make sure we are alone.  */
105
105
  lll_lock (cond->__data.__lock, pshared);
106
106
 
107
107
  /* Now we can release the mutex.  */