Browse Source

making the repo public

master
RinRi 1 year ago
parent
commit
c28a5bbb56
4 changed files with 6 additions and 1 deletions
  1. +1
    -0
      .gitignore
  2. +4
    -0
      README.md
  3. BIN
      week05/ex2
  4. +1
    -1
      week05/ex2.c

+ 1
- 0
.gitignore View File

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

+ 4
- 0
README.md View File

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

# TODO
- Add slides for each week

BIN
week05/ex2 View File


+ 1
- 1
week05/ex2.c View File

@@ -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;
}


Loading…
Cancel
Save