Commit ff2f938
authored
i#7576 detach_state: Refactor test source (#7743)
Split the test function source out into a separate static library to
allow them to be reused in a separate test application to test external
detach. The new file detach_state_shared.c has minimal changes compared
to the code removed from detach_state.c. None of the test functions
themselves are changed.
This also required a change to thread.h to avoid link errors when
linking the new library:
```
multiple definition of `thread_sleep'
multiple definition of `thread_yield'
```
Issue: #75761 parent 985af57 commit ff2f938
5 files changed
+1770
-1640
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3470 | 3470 | | |
3471 | 3471 | | |
3472 | 3472 | | |
| 3473 | + | |
| 3474 | + | |
| 3475 | + | |
| 3476 | + | |
| 3477 | + | |
| 3478 | + | |
| 3479 | + | |
| 3480 | + | |
| 3481 | + | |
| 3482 | + | |
3473 | 3483 | | |
3474 | 3484 | | |
3475 | 3485 | | |
3476 | 3486 | | |
3477 | | - | |
3478 | | - | |
3479 | | - | |
| 3487 | + | |
3480 | 3488 | | |
3481 | 3489 | | |
3482 | 3490 | | |
| |||
0 commit comments