Changeset 58697 in vbox for trunk/src/VBox/HostDrivers/Support/solaris
- Timestamp:
- Nov 16, 2015 2:42:34 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c
r58340 r58697 1273 1273 char szMsg[512]; 1274 1274 1275 /* cmn_err() acquires adaptive mutexes. Not preemption safe, see @bugref{6657}. */1276 if (!RTThreadPreemptIsEnabled(NIL_RTTHREAD))1277 return 0;1278 1279 1275 va_start(args, pszFormat); 1280 1276 RTStrPrintfV(szMsg, sizeof(szMsg) - 1, pszFormat, args); … … 1282 1278 1283 1279 szMsg[sizeof(szMsg) - 1] = '\0'; 1284 cmn_err(CE_CONT, "%s", szMsg); 1280 /* cmn_err() acquires adaptive mutexes. Not preemption safe, see @bugref{6657}. */ 1281 if (RTThreadPreemptIsEnabled(NIL_RTTHREAD)) 1282 cmn_err(CE_CONT, "%s", szMsg); 1283 else 1284 cmn_err(CE_CONT, "[!BadPreemptCtx!] %s", szMsg); 1285 1285 return 0; 1286 1286 }
Note:
See TracChangeset
for help on using the changeset viewer.