Przeglądaj źródła

making the repo public

master
RinRi 1 rok temu
rodzic
commit
c28a5bbb56
4 zmienionych plików z 6 dodań i 1 usunięć
  1. +1
    -0
      .gitignore
  2. +4
    -0
      README.md
  3. BIN
      week05/ex2
  4. +1
    -1
      week05/ex2.c

+ 1
- 0
.gitignore Wyświetl plik

@@ -0,0 +1 @@
*.ccls-cache

+ 4
- 0
README.md Wyświetl plik

@@ -0,0 +1,4 @@
# Innopolis OS course assignments

# TODO
- Add slides for each week

BIN
week05/ex2 Wyświetl plik


+ 1
- 1
week05/ex2.c Wyświetl plik

@@ -14,7 +14,7 @@ typedef struct {

void *print_thread(void *argv) {
Thread *t = argv;
printf("%d %s\n", t->i, t->mes);
printf("%d %lu %s\n", t->i, t->id, t->mes);
pthread_exit(NULL);
return NULL;
}


Ładowanie…
Anuluj
Zapisz