Compare commits

..

No commits in common. "3b2380d0f789d5db6de48f13127f3aa702cd9003" and "6cf937fb63b7f01217181c129ef561c834b4b881" have entirely different histories.

3 changed files with 4 additions and 6 deletions

2
.gitignore vendored
View File

@ -1,2 +0,0 @@
bin/

4
lab01/.gitignore vendored
View File

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

View File

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