Changeset 06586ba
- Timestamp:
- 07/30/10 00:56:06 (11 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 0896e76
- Parents:
- efbb6dd
- Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/ior-thread.c
rab298c4 r06586ba 101 101 int buffer=0; 102 102 bool running = true; 103 104 #ifdef PR_SET_NAME 103 105 char namebuf[17]; 104 105 #ifdef PR_SET_NAME106 106 if (prctl(PR_GET_NAME, namebuf, 0,0,0) == 0) { 107 107 namebuf[16] = '\0'; /* Make sure it's NUL terminated */ -
lib/iow-thread.c
r3b027a6 r06586ba 99 99 int buffer=0; 100 100 bool running = true; 101 iow_t *state = (iow_t *) userdata; 102 103 #ifdef PR_SET_NAME 101 104 char namebuf[17]; 102 iow_t *state = (iow_t *) userdata;103 104 #ifdef PR_SET_NAME105 105 if (prctl(PR_GET_NAME, namebuf, 0,0,0) == 0) { 106 106 namebuf[16] = '\0'; /* Make sure it's NUL terminated */
Note: See TracChangeset
for help on using the changeset viewer.