VirtualBox

Changeset 8650 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 7, 2008 12:07:55 PM (17 years ago)
Author:
vboxsync
Message:

L4 uses TLS and doesn't need to be excluded from strict critsects.

File:
1 edited

Legend:

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

    r8645 r8650  
    4242/** @def RTCRITSECT_STRICT
    4343 * Define this to enable deadlock detection.
    44  *
    45  * @remark  This won't work safely on L4 since we have to traverse the AVL tree
    46  *          in order to get the RT thread structure there and this tree is
    47  *          protected by a critsect atm.
    48  * @todo the L4 exclusion is no longer true, we've been using TLS for storing this for quite a while now.
    49  */
    50 #if !defined(RTCRITSECT_STRICT) && defined(RT_STRICT) && !defined(RT_OS_L4)
     44 */
     45#if !defined(RTCRITSECT_STRICT) && defined(RT_STRICT)
    5146# define RTCRITSECT_STRICT
    5247#endif
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