annotate tremor/COPYING @ 30811:50e0f6942e43

Implement Win32 mutexes. Implement Win32 mutexes; they used to just be mapped on top of events, which is not the same thing at all. The implementation is pretty much the obvious one, similar to the current critical section implementation and the semaphore implementation; a single lock count protected by a pthread mutex, and an event lockers can sleep on to know when the mutex is available. Also make CreateMutexA and ReleaseMutex available even if QuickTime codecs support is not configured.
author sesse
date Sat, 06 Mar 2010 10:13:37 +0000
parents 8631a3803289
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14280
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
1 Copyright (c) 2002, Xiph.org Foundation
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
2
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
3 Redistribution and use in source and binary forms, with or without
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
4 modification, are permitted provided that the following conditions
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
5 are met:
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
6
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
7 - Redistributions of source code must retain the above copyright
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
8 notice, this list of conditions and the following disclaimer.
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
9
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
10 - Redistributions in binary form must reproduce the above copyright
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
11 notice, this list of conditions and the following disclaimer in the
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
12 documentation and/or other materials provided with the distribution.
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
13
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
14 - Neither the name of the Xiph.org Foundation nor the names of its
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
15 contributors may be used to endorse or promote products derived from
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
16 this software without specific prior written permission.
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
17
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
18 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
19 ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
20 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
21 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
22 OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
23 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
24 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
25 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
26 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
27 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
8631a3803289 internal Tremor decoder for Ogg/Vorbis
henry
parents:
diff changeset
28 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.