Mercurial > trustbridge > nss-cmake-static
comparison nspr/pr/src/misc/prolock.c @ 0:1e5118fa0cb1
This is NSS with a Cmake Buildsyste
To compile a static NSS library for Windows we've used the
Chromium-NSS fork and added a Cmake buildsystem to compile
it statically for Windows. See README.chromium for chromium
changes and README.trustbridge for our modifications.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 28 Jul 2014 10:47:06 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1e5118fa0cb1 |
---|---|
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/. */ | |
5 | |
6 /* | |
7 ** prolock.c -- NSPR Ordered Lock | |
8 ** | |
9 ** Implement the API defined in prolock.h | |
10 ** | |
11 */ | |
12 #include "prolock.h" | |
13 #include "prlog.h" | |
14 #include "prerror.h" | |
15 | |
16 PR_IMPLEMENT(PROrderedLock *) | |
17 PR_CreateOrderedLock( | |
18 PRInt32 order, | |
19 const char *name | |
20 ) | |
21 { | |
22 PR_ASSERT(!"Not implemented"); /* Not implemented yet */ | |
23 PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0); | |
24 return NULL; | |
25 } /* end PR_CreateOrderedLock() */ | |
26 | |
27 | |
28 PR_IMPLEMENT(void) | |
29 PR_DestroyOrderedLock( | |
30 PROrderedLock *lock | |
31 ) | |
32 { | |
33 PR_ASSERT(!"Not implemented"); /* Not implemented yet */ | |
34 PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0); | |
35 } /* end PR_DestroyOrderedLock() */ | |
36 | |
37 | |
38 PR_IMPLEMENT(void) | |
39 PR_LockOrderedLock( | |
40 PROrderedLock *lock | |
41 ) | |
42 { | |
43 PR_ASSERT(!"Not implemented"); /* Not implemented yet */ | |
44 PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0); | |
45 } /* end PR_LockOrderedLock() */ | |
46 | |
47 | |
48 PR_IMPLEMENT(PRStatus) | |
49 PR_UnlockOrderedLock( | |
50 PROrderedLock *lock | |
51 ) | |
52 { | |
53 PR_ASSERT(!"Not implemented"); /* Not implemented yet */ | |
54 PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0); | |
55 return PR_FAILURE; | |
56 } /* end PR_UnlockOrderedLock() */ |