1 /* -*- Mode: C++; tab-width: 4; 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/. */
7 ** prolock.c -- NSPR Ordered Lock
9 ** Implement the API defined in prolock.h
16 PR_IMPLEMENT(PROrderedLock
*)
17 PR_CreateOrderedLock(PRInt32 order
, const char* name
) {
18 PR_NOT_REACHED("Not implemented"); /* Not implemented yet */
19 PR_SetError(PR_NOT_IMPLEMENTED_ERROR
, 0);
21 } /* end PR_CreateOrderedLock() */
24 PR_DestroyOrderedLock(PROrderedLock
* lock
) {
25 PR_NOT_REACHED("Not implemented"); /* Not implemented yet */
26 PR_SetError(PR_NOT_IMPLEMENTED_ERROR
, 0);
27 } /* end PR_DestroyOrderedLock() */
30 PR_LockOrderedLock(PROrderedLock
* lock
) {
31 PR_NOT_REACHED("Not implemented"); /* Not implemented yet */
32 PR_SetError(PR_NOT_IMPLEMENTED_ERROR
, 0);
33 } /* end PR_LockOrderedLock() */
35 PR_IMPLEMENT(PRStatus
)
36 PR_UnlockOrderedLock(PROrderedLock
* lock
) {
37 PR_NOT_REACHED("Not implemented"); /* Not implemented yet */
38 PR_SetError(PR_NOT_IMPLEMENTED_ERROR
, 0);
40 } /* end PR_UnlockOrderedLock() */