Changes in kernel/test/synch/rcu1.c [897fd8f1:7850dda] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/synch/rcu1.c
r897fd8f1 r7850dda 51 51 } exited_t; 52 52 53 /* Co-opt EPARTY error code for race detection. */ 54 #define ERACE EPARTY 53 /* Callback raced with preexisting readers. */ 54 #define ERACE 123 55 /* Waited for too long for the callback to exit; consider it lost. */ 56 #define ECBLOST 432 55 57 56 58 /*-------------------------------------------------------------------*/ … … 69 71 70 72 if (!p->exited) { 71 *presult = E TIMEOUT;73 *presult = ECBLOST; 72 74 } 73 75 } … … 114 116 do { 115 117 int ret = thread_join_timeout(thread[i], 5 * 1000 * 1000, 0); 116 joined = (ret != E TIMEOUT);118 joined = (ret != ESYNCH_TIMEOUT); 117 119 118 if (ret == E OK) {120 if (ret == ESYNCH_OK_BLOCKED) { 119 121 TPRINTF("%zu threads remain\n", thread_cnt - i - 1); 120 122 }
Note:
See TracChangeset
for help on using the changeset viewer.