1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include "CrossProcessMutex.h"
13 CrossProcessMutex::CrossProcessMutex(const char*) {
14 MOZ_CRASH("Cross-process mutices not allowed on this platform.");
17 CrossProcessMutex::CrossProcessMutex(CrossProcessMutexHandle
) {
18 MOZ_CRASH("Cross-process mutices not allowed on this platform.");
21 CrossProcessMutex::~CrossProcessMutex() {
23 "Cross-process mutices not allowed on this platform - woah! We should've "
27 void CrossProcessMutex::Lock() {
29 "Cross-process mutices not allowed on this platform - woah! We should've "
33 void CrossProcessMutex::Unlock() {
35 "Cross-process mutices not allowed on this platform - woah! We should've "
39 CrossProcessMutexHandle
CrossProcessMutex::CloneHandle() {
41 "Cross-process mutices not allowed on this platform - woah! We should've "
46 } // namespace mozilla