diff options
| author | Julian Weigt <juw@posteo.de> | 2026-01-07 14:45:23 +0000 |
|---|---|---|
| committer | Julian Weigt <juw@posteo.de> | 2026-02-04 15:55:50 +0100 |
| commit | 0f7bfd3a8fdd0e566bb2ad93a8a71556a2933717 (patch) | |
| tree | a7799883b97e935f2f3c2645e2618a95de121d10 /charf.c | |
| parent | 81161ff6d77367b86181b49a07d43a86a1c809ee (diff) | |
Remove assert.h.
Diffstat (limited to 'charf.c')
| -rw-r--r-- | charf.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -3,7 +3,6 @@ #include <math.h> //for multithreading #include <pthread.h> -#include <assert.h> #define DOUBLEMODE 0 #define DOUBLEERRORMODE 1 @@ -222,13 +221,11 @@ int main() { printf("In main: Creating thread %d.\n", i); args[i] = (Args){.p=p, .i=i}; result_code = pthread_create(&threads[i], NULL, compute_chunk, &(args[i])); - assert(!result_code); } // wait for each thread to complete for (int i = 0; i < NUM_THREADS; i++) { result_code = pthread_join(threads[i], NULL); - assert(!result_code); printf("In main: Thread %d has ended.\n", i); } |
