Changes in uspace/app/tester/thread/thread1.c [a405563:7e752b2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/thread/thread1.c
ra405563 r7e752b2 35 35 #include <stdio.h> 36 36 #include <unistd.h> 37 #include <inttypes.h> 37 38 #include "../tester.h" 38 39 … … 50 51 } 51 52 52 c har *test_thread1(void)53 const char *test_thread1(void) 53 54 { 54 55 unsigned int i; 55 int total = 0;56 atomic_count_t total = 0; 56 57 57 58 atomic_set(&finish, 1); … … 74 75 atomic_set(&finish, 0); 75 76 while (atomic_get(&threads_finished) < total) { 76 TPRINTF("Threads left: %u\n", total - atomic_get(&threads_finished)); 77 TPRINTF("Threads left: %" PRIua "\n", 78 total - atomic_get(&threads_finished)); 77 79 sleep(1); 78 80 }
Note:
See TracChangeset
for help on using the changeset viewer.