VirtualBox

Ignore:
Timestamp:
Jan 2, 2015 12:41:16 PM (10 years ago)
Author:
vboxsync
Message:

VBoxDTrace: VBoxTpG: Drop the file name in the probe location, it isn't useful to DTrace. Also use FUNCTION instead of PRETTY_FUNCTION to note down the name of the enclosing function. (r67)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_work.c

    r53652 r53690  
    109109        (void) pthread_cond_reltimedwait_np(&dph->dph_cv, &dph->dph_lock, &tv);
    110110#else
    111         RTSemEventWait(dph->dph_event, (earliest - now) / RT_NS_1MS);
     111        if (dph->dph_event)
     112                RTSemEventWait(dph->dph_event, (earliest - now) / RT_NS_1MS);
     113        else
     114                RTThreadSleep((earliest - now) / RT_NS_1MS);
    112115#endif
    113116
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