OLD | NEW |
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_win95_defs_h___ | 6 #ifndef nspr_win95_defs_h___ |
7 #define nspr_win95_defs_h___ | 7 #define nspr_win95_defs_h___ |
8 | 8 |
9 #include "prio.h" | 9 #include "prio.h" |
10 | 10 |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 #define _MD_GET_ENV _PR_MD_GET_ENV | 353 #define _MD_GET_ENV _PR_MD_GET_ENV |
354 #define _MD_PUT_ENV _PR_MD_PUT_ENV | 354 #define _MD_PUT_ENV _PR_MD_PUT_ENV |
355 | 355 |
356 /* --- Threading Stuff --- */ | 356 /* --- Threading Stuff --- */ |
357 #define _MD_DEFAULT_STACK_SIZE 0 | 357 #define _MD_DEFAULT_STACK_SIZE 0 |
358 #define _MD_INIT_THREAD _PR_MD_INIT_THREAD | 358 #define _MD_INIT_THREAD _PR_MD_INIT_THREAD |
359 #define _MD_INIT_ATTACHED_THREAD _PR_MD_INIT_THREAD | 359 #define _MD_INIT_ATTACHED_THREAD _PR_MD_INIT_THREAD |
360 #define _MD_CREATE_THREAD _PR_MD_CREATE_THREAD | 360 #define _MD_CREATE_THREAD _PR_MD_CREATE_THREAD |
361 #define _MD_YIELD _PR_MD_YIELD | 361 #define _MD_YIELD _PR_MD_YIELD |
362 #define _MD_SET_PRIORITY _PR_MD_SET_PRIORITY | 362 #define _MD_SET_PRIORITY _PR_MD_SET_PRIORITY |
| 363 #define _MD_SET_CURRENT_THREAD_NAME _PR_MD_SET_CURRENT_THREAD_NAME |
363 #define _MD_CLEAN_THREAD _PR_MD_CLEAN_THREAD | 364 #define _MD_CLEAN_THREAD _PR_MD_CLEAN_THREAD |
364 #define _MD_SETTHREADAFFINITYMASK _PR_MD_SETTHREADAFFINITYMASK | 365 #define _MD_SETTHREADAFFINITYMASK _PR_MD_SETTHREADAFFINITYMASK |
365 #define _MD_GETTHREADAFFINITYMASK _PR_MD_GETTHREADAFFINITYMASK | 366 #define _MD_GETTHREADAFFINITYMASK _PR_MD_GETTHREADAFFINITYMASK |
366 #define _MD_EXIT_THREAD _PR_MD_EXIT_THREAD | 367 #define _MD_EXIT_THREAD _PR_MD_EXIT_THREAD |
367 #define _MD_EXIT _PR_MD_EXIT | 368 #define _MD_EXIT _PR_MD_EXIT |
368 #define _MD_SUSPEND_THREAD _PR_MD_SUSPEND_THREAD | 369 #define _MD_SUSPEND_THREAD _PR_MD_SUSPEND_THREAD |
369 #define _MD_RESUME_THREAD _PR_MD_RESUME_THREAD | 370 #define _MD_RESUME_THREAD _PR_MD_RESUME_THREAD |
370 #define _MD_SUSPEND_CPU _PR_MD_SUSPEND_CPU | 371 #define _MD_SUSPEND_CPU _PR_MD_SUSPEND_CPU |
371 #define _MD_RESUME_CPU _PR_MD_RESUME_CPU | 372 #define _MD_RESUME_CPU _PR_MD_RESUME_CPU |
372 #define _MD_BEGIN_SUSPEND_ALL() | 373 #define _MD_BEGIN_SUSPEND_ALL() |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 | 528 |
528 /* --- Named semaphores stuff --- */ | 529 /* --- Named semaphores stuff --- */ |
529 #define _PR_HAVE_NAMED_SEMAPHORES | 530 #define _PR_HAVE_NAMED_SEMAPHORES |
530 #define _MD_OPEN_SEMAPHORE _PR_MD_OPEN_SEMAPHORE | 531 #define _MD_OPEN_SEMAPHORE _PR_MD_OPEN_SEMAPHORE |
531 #define _MD_WAIT_SEMAPHORE _PR_MD_WAIT_SEMAPHORE | 532 #define _MD_WAIT_SEMAPHORE _PR_MD_WAIT_SEMAPHORE |
532 #define _MD_POST_SEMAPHORE _PR_MD_POST_SEMAPHORE | 533 #define _MD_POST_SEMAPHORE _PR_MD_POST_SEMAPHORE |
533 #define _MD_CLOSE_SEMAPHORE _PR_MD_CLOSE_SEMAPHORE | 534 #define _MD_CLOSE_SEMAPHORE _PR_MD_CLOSE_SEMAPHORE |
534 #define _MD_DELETE_SEMAPHORE(name) PR_SUCCESS /* no op */ | 535 #define _MD_DELETE_SEMAPHORE(name) PR_SUCCESS /* no op */ |
535 | 536 |
536 #endif /* nspr_win32_defs_h___ */ | 537 #endif /* nspr_win32_defs_h___ */ |
OLD | NEW |