Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Side by Side Diff: net/third_party/nss/ssl/sslmutex.h

Issue 14522022: Update NSS libSSL to NSS_3_15_BETA2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Make the changes rsleevi suggested Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* This Source Code Form is subject to the terms of the Mozilla Public 1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 /* $Id: sslmutex.h,v 1.14 2012/04/25 14:50:12 gerv%gerv.net Exp $ */ 4 /* $Id$ */
5 #ifndef __SSLMUTEX_H_ 5 #ifndef __SSLMUTEX_H_
6 #define __SSLMUTEX_H_ 1 6 #define __SSLMUTEX_H_ 1
7 7
8 /* What SSL really wants is portable process-shared unnamed mutexes in 8 /* What SSL really wants is portable process-shared unnamed mutexes in
9 * shared memory, that have the property that if the process that holds 9 * shared memory, that have the property that if the process that holds
10 * them dies, they are released automatically, and that (unlike fcntl 10 * them dies, they are released automatically, and that (unlike fcntl
11 * record locking) lock to the thread, not to the process. 11 * record locking) lock to the thread, not to the process.
12 * NSPR doesn't provide that. 12 * NSPR doesn't provide that.
13 * Windows has mutexes that meet that description, but they're not portable. 13 * Windows has mutexes that meet that description, but they're not portable.
14 * POSIX mutexes are not automatically released when the holder dies, 14 * POSIX mutexes are not automatically released when the holder dies,
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 #ifdef WINNT 118 #ifdef WINNT
119 119
120 extern SECStatus sslMutex_2LevelInit(sslMutex *sem); 120 extern SECStatus sslMutex_2LevelInit(sslMutex *sem);
121 121
122 #endif 122 #endif
123 123
124 SEC_END_PROTOS 124 SEC_END_PROTOS
125 125
126 #endif 126 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698