Bumping manifests a=b2g-bump
[gecko.git] / ipc / glue / CrossProcessMutex_unimplemented.cpp
blob518ce7a9e8464a2a871ed7708392e0bde37daf58
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"
8 #include "nsDebug.h"
10 namespace mozilla {
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!");
27 void
28 CrossProcessMutex::Lock()
30 NS_RUNTIMEABORT("Cross-process mutices not allowed on this platform - woah! We should've aborted by now!");
33 void
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!");
43 return 0;