summaryrefslogtreecommitdiffstats
path: root/nsprpub/pr/src/pthreads/ptmisc.c
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-01-02 21:01:38 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-01-02 21:01:38 +0100
commitf7d30133221896638f7bf4f66c504255c4b14f48 (patch)
tree5f3e07a049f388a3a309a615b8884318f6668a98 /nsprpub/pr/src/pthreads/ptmisc.c
parent26b297510a11758727438df4669357a2a2bc42ce (diff)
downloadUXP-f7d30133221896638f7bf4f66c504255c4b14f48.tar
UXP-f7d30133221896638f7bf4f66c504255c4b14f48.tar.gz
UXP-f7d30133221896638f7bf4f66c504255c4b14f48.tar.lz
UXP-f7d30133221896638f7bf4f66c504255c4b14f48.tar.xz
UXP-f7d30133221896638f7bf4f66c504255c4b14f48.zip
Issue #1338 - Part 1: Update NSPR to 4.24
Diffstat (limited to 'nsprpub/pr/src/pthreads/ptmisc.c')
-rw-r--r--nsprpub/pr/src/pthreads/ptmisc.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/nsprpub/pr/src/pthreads/ptmisc.c b/nsprpub/pr/src/pthreads/ptmisc.c
index bbc6d56bc..4069f585a 100644
--- a/nsprpub/pr/src/pthreads/ptmisc.c
+++ b/nsprpub/pr/src/pthreads/ptmisc.c
@@ -19,20 +19,26 @@
#define PT_LOG(f)
-void _PR_InitCPUs(void) {PT_LOG("_PR_InitCPUs")}
-void _PR_InitStacks(void) {PT_LOG("_PR_InitStacks")}
+void _PR_InitCPUs(void) {
+ PT_LOG("_PR_InitCPUs")
+}
+void _PR_InitStacks(void) {
+ PT_LOG("_PR_InitStacks")
+}
-PR_IMPLEMENT(void) PR_SetConcurrency(PRUintn numCPUs)
+PR_IMPLEMENT(void) PR_SetConcurrency(PRUintn numCPUs)
{
#ifdef SOLARIS
- thr_setconcurrency(numCPUs);
+ thr_setconcurrency(numCPUs);
#else
- PT_LOG("PR_SetConcurrency");
+ PT_LOG("PR_SetConcurrency");
#endif
}
PR_IMPLEMENT(void) PR_SetThreadRecycleMode(PRUint32 flag)
- {PT_LOG("PR_SetThreadRecycleMode")}
+{
+ PT_LOG("PR_SetThreadRecycleMode")
+}
#endif /* defined(_PR_PTHREADS) */