1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "CrossProcessMutex.h"
12 CrossProcessMutex::CrossProcessMutex(const char*)
14 NS_RUNTIMEABORT("Cross-process mutices not allowed on this platform.");
17 CrossProcessMutex::CrossProcessMutex(CrossProcessMutexHandle
)
19 NS_RUNTIMEABORT("Cross-process mutices not allowed on this platform.");
22 CrossProcessMutex::~CrossProcessMutex()
24 NS_RUNTIMEABORT("Cross-process mutices not allowed on this platform - woah! We should've aborted by now!");
28 CrossProcessMutex::Lock()
30 NS_RUNTIMEABORT("Cross-process mutices not allowed on this platform - woah! We should've aborted by now!");
34 CrossProcessMutex::Unlock()
36 NS_RUNTIMEABORT("Cross-process mutices not allowed on this platform - woah! We should've aborted by now!");
39 CrossProcessMutexHandle
40 CrossProcessMutex::ShareToProcess(base::ProcessHandle aHandle
)
42 NS_RUNTIMEABORT("Cross-process mutices not allowed on this platform - woah! We should've aborted by now!");