Changeset 132ab5d1 in mainline for kernel/test/synch/rcu1.c
- Timestamp:
- 2018-01-30T03:20:45Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a6cc679
- Parents:
- 8bfb163 (diff), 6a5d05b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
kernel/test/synch/rcu1.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/synch/rcu1.c
r8bfb163 r132ab5d1 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.
