~ubuntu-branches/ubuntu/trusty/postgresql-8.4/trusty

« back to all changes in this revision

Viewing changes to src/backend/port/posix_sema.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-11 16:59:35 UTC
  • mfrom: (5.1.1 karmic)
  • Revision ID: james.westby@ubuntu.com-20090711165935-jfwin6gfrxf0gfsi
Tags: 8.4.0-2
* debian/libpq-dev.install: Ship catalog/genbki.h. (Closes: #536139)
* debian/rules: Drop --enable-cassert for final release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 * Portions Copyright (c) 1994, Regents of the University of California
12
12
 *
13
13
 * IDENTIFICATION
14
 
 *        $PostgreSQL: pgsql/src/backend/port/posix_sema.c,v 1.21 2009/01/01 17:23:46 momjian Exp $
 
14
 *        $PostgreSQL: pgsql/src/backend/port/posix_sema.c,v 1.22 2009/06/11 14:49:00 momjian Exp $
15
15
 *
16
16
 *-------------------------------------------------------------------------
17
17
 */
241
241
        int                     errStatus;
242
242
 
243
243
        /*
244
 
         * See notes in sysv_sema.c's implementation of PGSemaphoreLock.
245
 
         * Just as that code does for semop(), we handle both the case where
246
 
         * sem_wait() returns errno == EINTR after a signal, and the case
247
 
         * where it just keeps waiting.
 
244
         * See notes in sysv_sema.c's implementation of PGSemaphoreLock. Just as
 
245
         * that code does for semop(), we handle both the case where sem_wait()
 
246
         * returns errno == EINTR after a signal, and the case where it just keeps
 
247
         * waiting.
248
248
         */
249
249
        do
250
250
        {