Remove for loop with join

This commit is contained in:
Ilya Bezrukov 2025-09-24 16:33:31 +03:00
parent 979c68ea29
commit 3b2380d0f7
2 changed files with 1 additions and 4 deletions

1
lab01/.gitignore vendored
View File

@ -1,3 +1,4 @@
encrypted
decrypted
example

View File

@ -176,10 +176,6 @@ int main(int argc, char *argv[]) {
pthread_barrier_wait(&barrier);
for (int i = 0; i < workers_count; i++) {
pthread_join(workers[i]->id, NULL);
}
pthread_barrier_destroy(&barrier);
munmap(input, cfg.size);