VirtualBox

Changeset 5947 in vbox


Ignore:
Timestamp:
Dec 4, 2007 5:17:30 AM (17 years ago)
Author:
vboxsync
Message:

Use default sysclass priority for threads.

Location:
trunk/src/VBox/Runtime/r0drv/solaris
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/solaris/the-solaris-kernel.h

    r4544 r5947  
    3131#include <sys/vmsystm.h>
    3232#include <sys/cyclic.h>
     33#include <sys/class.h>
    3334#include <vm/hat.h>
    3435#include <vm/seg_vn.h>
  • trunk/src/VBox/Runtime/r0drv/solaris/thread2-r0drv-solaris.c

    r4178 r5947  
    8888{
    8989    int rc;
    90     /** @todo Passing hardcoded priority of 52, Find correct default priority */
    91     /* We know its from 0 to 127 priority, but what's the default?? */
    9290    kthread_t* pKernThread = thread_create(NULL, NULL, rtThreadNativeMain, pThreadInt, 0,
    93                                            curproc, LMS_USER, 52);
     91                                           curproc, LMS_USER, minclsyspri);
    9492    if (pKernThread)
    9593    {
Note: See TracChangeset for help on using the changeset viewer.

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