VirtualBox

Changeset 86525 in vbox for trunk/src


Ignore:
Timestamp:
Oct 11, 2020 6:28:52 PM (4 years ago)
Author:
vboxsync
Message:

Runtime/r3/*/sched-*.cpp: Doxygen cleanup, only keep the doxygen comment where rtProcNativeSetPriority() and rtThreadNativeSetPriority() are declared to get away with trying to keep the different versions in sync which didn't work anyway

Location:
trunk/src/VBox/Runtime
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/sched-generic.cpp

    r82968 r86525  
    5353
    5454
    55 /**
    56  * Validates and sets the process priority.
    57  * This will check that all rtThreadNativeSetPriority() will success for all the
    58  * thread types when applied to the current thread.
    59  *
    60  * @returns iprt status code.
    61  * @param   enmPriority     The priority to validate and set.
    62  * @remark  Located in sched.
    63  */
    6455DECLHIDDEN(int) rtProcNativeSetPriority(RTPROCPRIORITY enmPriority)
    6556{
     
    6960
    7061
    71 /**
    72  * Sets the priority of the thread according to the thread type
    73  * and current process priority.
    74  *
    75  * The RTTHREADINT::enmType member has not yet been updated and will be updated by
    76  * the caller on a successful return.
    77  *
    78  * @returns iprt status code.
    79  * @param   pThread     The thread in question.
    80  * @param   enmType     The thread type.
    81  * @remark  Located in sched.
    82  */
    8362DECLHIDDEN(int) rtThreadNativeSetPriority(PRTTHREADINT pThread, RTTHREADTYPE enmType)
    8463{
  • trunk/src/VBox/Runtime/include/internal/process.h

    r85124 r86525  
    4646/**
    4747 * Validates and sets the process priority.
     48 *
    4849 * This will check that all rtThreadNativeSetPriority() will success for all the
    4950 * thread types when applied to the current thread.
    5051 *
    51  * @returns iprt status code.
     52 * @returns IPRT status code.
    5253 * @param   enmPriority     The priority to validate and set.
     54 *
    5355 * @remark  Located in sched.
    5456 */
  • trunk/src/VBox/Runtime/r3/linux/sched-linux.cpp

    r82968 r86525  
    597597
    598598
    599 /**
    600  * Validates and sets the process priority.
    601  *
    602  * This will check that all rtThreadNativeSetPriority() will success for all the
    603  * thread types when applied to the current thread.
    604  *
    605  * @returns iprt status code.
    606  * @param   enmPriority     The priority to validate and set.
    607  */
    608599DECLHIDDEN(int) rtProcNativeSetPriority(RTPROCPRIORITY enmPriority)
    609600{
     
    681672
    682673
    683 /**
    684  * Sets the priority of the thread according to the thread type
    685  * and current process priority.
    686  *
    687  * The RTTHREADINT::enmType member has not yet been updated and will be updated by
    688  * the caller on a successful return.
    689  *
    690  * @returns iprt status code.
    691  * @param   pThread     The thread in question.
    692  * @param   enmType     The thread type.
    693  */
    694674DECLHIDDEN(int) rtThreadNativeSetPriority(PRTTHREADINT pThread, RTTHREADTYPE enmType)
    695675{
  • trunk/src/VBox/Runtime/r3/os2/sched-os2.cpp

    r82968 r86525  
    197197
    198198
    199 /**
    200  * Validates and sets the process priority.
    201  * This will check that all rtThreadNativeSetPriority() will success for all the
    202  * thread types when applied to the current thread.
    203  *
    204  * @returns iprt status code.
    205  * @param   enmPriority     The priority to validate and set.
    206  * @remark  Located in sched.
    207  */
    208199DECLHIDDEN(int) rtProcNativeSetPriority(RTPROCPRIORITY enmPriority)
    209200{
     
    227218
    228219
    229 /**
    230  * Sets the priority of the thread according to the thread type
    231  * and current process priority.
    232  *
    233  * The RTTHREADINT::enmType member has not yet been updated and will be updated by
    234  * the caller on a successful return.
    235  *
    236  * @returns iprt status code.
    237  * @param   pThread     The thread in question.
    238  * @param   enmType     The thread type.
    239  * @remark  Located in sched.
    240  */
    241220DECLHIDDEN(int) rtThreadNativeSetPriority(PRTTHREADINT pThread, RTTHREADTYPE enmType)
    242221{
  • trunk/src/VBox/Runtime/r3/posix/sched-posix.cpp

    r82968 r86525  
    639639
    640640
    641 /**
    642  * Validates and sets the process priority.
    643  * This will check that all rtThreadNativeSetPriority() will success for all the
    644  * thread types when applied to the current thread.
    645  *
    646  * @returns iprt status code.
    647  * @param   enmPriority     The priority to validate and set.
    648  */
    649641DECLHIDDEN(int) rtProcNativeSetPriority(RTPROCPRIORITY enmPriority)
    650642{
     
    777769
    778770
    779 /**
    780  * Sets the priority of the thread according to the thread type
    781  * and current process priority.
    782  *
    783  * The RTTHREADINT::enmType member has not yet been updated and will be updated by
    784  * the caller on a successful return.
    785  *
    786  * @returns iprt status code.
    787  * @param   Thread      The thread in question.
    788  * @param   enmType     The thread type.
    789  */
    790771DECLHIDDEN(int) rtThreadNativeSetPriority(PRTTHREADINT pThread, RTTHREADTYPE enmType)
    791772{
  • trunk/src/VBox/Runtime/r3/win/sched-win.cpp

    r82968 r86525  
    264264
    265265
    266 /**
    267  * Validates and sets the process priority.
    268  * This will check that all rtThreadNativeSetPriority() will success for all the
    269  * thread types when applied to the current thread.
    270  *
    271  * @returns iprt status code.
    272  * @param   enmPriority     The priority to validate and set.
    273  * @remark  Located in sched.
    274  */
    275266DECLHIDDEN(int) rtProcNativeSetPriority(RTPROCPRIORITY enmPriority)
    276267{
     
    309300
    310301
    311 /**
    312  * Sets the priority of the thread according to the thread type
    313  * and current process priority.
    314  *
    315  * The RTTHREADINT::enmType member has not yet been updated and will be updated by
    316  * the caller on a successful return.
    317  *
    318  * @returns iprt status code.
    319  * @param   pThread     The thread in question.
    320  * @param   enmType     The thread type.
    321  * @remark  Located in sched.
    322  */
    323302DECLHIDDEN(int) rtThreadNativeSetPriority(PRTTHREADINT pThread, RTTHREADTYPE enmType)
    324303{
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