VirtualBox

Changeset 101994 in vbox


Ignore:
Timestamp:
Nov 8, 2023 5:47:32 PM (17 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160091
Message:

libs/xpcom: Convert ptthread.c from PR_LOG to IPRT's logging infrastructure, bugref:10545

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptthread.c

    r101983 r101994  
    4242*/
    4343
    44 #include "prlog.h"
    4544#include "primpl.h"
    4645
     
    5554#include <iprt/asm.h>
    5655#include <iprt/err.h>
     56#include <VBox/log.h>
    5757
    5858/*
     
    368368         */
    369369        PR_SetError(PR_INVALID_ARGUMENT_ERROR, 0);
    370         PR_LogPrint(
    371             "PR_JoinThread: 0x%X not joinable | already smashed\n", thred);
     370        Log(("PR_JoinThread: 0x%X not joinable | already smashed\n", thred));
    372371    }
    373372    else
     
    455454                        {
    456455                                pt_schedpriv = EPERM;
    457                                 PR_LOG(_pr_thread_lm, PR_LOG_MIN,
    458                                         ("PR_SetThreadPriority: no thread scheduling privilege"));
     456                                Log(("PR_SetThreadPriority: no thread scheduling privilege\n"));
    459457                        }
    460458                }
     
    614612{
    615613    PRThread *me = PR_CurrentThread();
    616     PR_LOG(_pr_thread_lm, PR_LOG_MIN, ("PR_Cleanup: shutting down NSPR"));
     614    Log(("PR_Cleanup: shutting down NSPR\n"));
    617615    PR_ASSERT(me->state & PT_THREAD_PRIMORD);
    618616    if (me->state & PT_THREAD_PRIMORD)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette