Changes in kernel/test/synch/rcu1.c [7850dda:897fd8f1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/synch/rcu1.c
r7850dda r897fd8f1 51 51 } exited_t; 52 52 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 53 /* Co-opt EPARTY error code for race detection. */ 54 #define ERACE EPARTY 57 55 58 56 /*-------------------------------------------------------------------*/ … … 71 69 72 70 if (!p->exited) { 73 *presult = E CBLOST;71 *presult = ETIMEOUT; 74 72 } 75 73 } … … 116 114 do { 117 115 int ret = thread_join_timeout(thread[i], 5 * 1000 * 1000, 0); 118 joined = (ret != E SYNCH_TIMEOUT);116 joined = (ret != ETIMEOUT); 119 117 120 if (ret == E SYNCH_OK_BLOCKED) {118 if (ret == EOK) { 121 119 TPRINTF("%zu threads remain\n", thread_cnt - i - 1); 122 120 }
Note:
See TracChangeset
for help on using the changeset viewer.