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

Side by Side Diff: mozilla/nsprpub/pr/include/md/_darwin.h

Issue 12089033: Update to NSPR 4.9.5 Beta 2, part 2: actual changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 7 years, 10 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
« no previous file with comments | « README.chromium ('k') | mozilla/nsprpub/pr/include/md/_linux.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 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 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 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/. */ 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 5
6 #ifndef nspr_darwin_defs_h___ 6 #ifndef nspr_darwin_defs_h___
7 #define nspr_darwin_defs_h___ 7 #define nspr_darwin_defs_h___
8 8
9 #include "prthread.h" 9 #include "prthread.h"
10 10
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 PRUint32 stackSize); 273 PRUint32 stackSize);
274 extern void _MD_SET_PRIORITY(struct _MDThread *thread, PRUintn newPri); 274 extern void _MD_SET_PRIORITY(struct _MDThread *thread, PRUintn newPri);
275 extern PRStatus _MD_WAIT(PRThread *, PRIntervalTime timeout); 275 extern PRStatus _MD_WAIT(PRThread *, PRIntervalTime timeout);
276 extern PRStatus _MD_WAKEUP_WAITER(PRThread *); 276 extern PRStatus _MD_WAKEUP_WAITER(PRThread *);
277 extern void _MD_YIELD(void); 277 extern void _MD_YIELD(void);
278 278
279 #endif /* ! _PR_PTHREADS */ 279 #endif /* ! _PR_PTHREADS */
280 280
281 #define _MD_EARLY_INIT _MD_EarlyInit 281 #define _MD_EARLY_INIT _MD_EarlyInit
282 #define _MD_FINAL_INIT _PR_UnixInit 282 #define _MD_FINAL_INIT _PR_UnixInit
283 #define _MD_GET_INTERVAL _PR_UNIX_GetInterval 283 #define _MD_INTERVAL_INIT _PR_Mach_IntervalInit
284 #define _MD_INTERVAL_PER_SEC _PR_UNIX_TicksPerSecond 284 #define _MD_GET_INTERVAL _PR_Mach_GetInterval
285 #define _MD_INTERVAL_PER_SEC _PR_Mach_TicksPerSecond
285 286
286 extern void _MD_EarlyInit(void); 287 extern void _MD_EarlyInit(void);
287 extern PRIntervalTime _PR_UNIX_GetInterval(void); 288 extern void _PR_Mach_IntervalInit(void);
288 extern PRIntervalTime _PR_UNIX_TicksPerSecond(void); 289 extern PRIntervalTime _PR_Mach_GetInterval(void);
290 extern PRIntervalTime _PR_Mach_TicksPerSecond(void);
289 291
290 /* 292 /*
291 * We wrapped the select() call. _MD_SELECT refers to the built-in, 293 * We wrapped the select() call. _MD_SELECT refers to the built-in,
292 * unwrapped version. 294 * unwrapped version.
293 */ 295 */
294 #define _MD_SELECT(nfds,r,w,e,tv) syscall(SYS_select,nfds,r,w,e,tv) 296 #define _MD_SELECT(nfds,r,w,e,tv) syscall(SYS_select,nfds,r,w,e,tv)
295 297
296 /* For writev() */ 298 /* For writev() */
297 #include <sys/uio.h> 299 #include <sys/uio.h>
298 300
299 #endif /* nspr_darwin_defs_h___ */ 301 #endif /* nspr_darwin_defs_h___ */
OLDNEW
« no previous file with comments | « README.chromium ('k') | mozilla/nsprpub/pr/include/md/_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698