VirtualBox

Changeset 26361 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Feb 9, 2010 1:14:44 PM (15 years ago)
Author:
vboxsync
Message:

thread-posix.cpp: No RTThreadPoke in guest context.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/thread-posix.cpp

    r25724 r26361  
    5757*   Defined Constants And Macros                                               *
    5858*******************************************************************************/
     59#ifndef IN_GUEST
    5960/** The signal we're using for RTThreadPoke. */
    60 #define RTTHREAD_POSIX_POKE_SIG  SIGUSR2
     61# define RTTHREAD_POSIX_POKE_SIG    SIGUSR2
     62#endif
    6163
    6264
     
    8688        return VERR_NO_TLS_FOR_SELF;
    8789
     90#ifdef RTTHREAD_POSIX_POKE_SIG
    8891    /*
    8992     * Register the dummy signal handler for RTThreadPoke.
     
    106109        g_SelfKey = 0;
    107110    }
     111#endif /* RTTHREAD_POSIX_POKE_SIG */
    108112    return rc;
    109113}
     
    129133
    130134
     135#ifdef RTTHREAD_POSIX_POKE_SIG
    131136/**
    132137 * Dummy signal handler for the poke signal.
     
    139144    NOREF(iSignal);
    140145}
     146#endif
    141147
    142148
     
    337343
    338344
     345#ifdef RTTHREAD_POSIX_POKE_SIG
    339346RTDECL(int) RTThreadPoke(RTTHREAD hThread)
    340347{
     
    348355    return RTErrConvertFromErrno(rc);
    349356}
     357#endif
     358
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