Changeset 46043 in vbox for trunk/src/libs/xpcom18a4/ipc/ipcd
- Timestamp:
- May 13, 2013 7:59:49 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/ipc/ipcd/shared/src/ipcLog.cpp
r38636 r46043 66 66 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) 67 67 68 #if defined(L4ENV)69 #include <l4/sys/types.h>70 #include <l4/sys/syscalls.h>71 72 static inline PRUint3273 WritePrefix(char *buf, PRUint32 bufLen)74 {75 l4_threadid_t my_id = l4_myself();76 return PR_snprintf(buf, bufLen, "[%u.%u] %s ",77 static_cast<unsigned>(my_id.id.task),78 static_cast<unsigned>(my_id.id.lthread),79 ipcLogPrefix);80 }81 82 #else /* Not L4ENV */83 68 #include <sys/types.h> 84 69 #include <unistd.h> … … 92 77 ipcLogPrefix); 93 78 } 94 #endif /* Not L4ENV */95 79 #endif 96 80
Note:
See TracChangeset
for help on using the changeset viewer.