Skip to content
Snippets Groups Projects
T3.c 297 B
Newer Older
antux18's avatar
antux18 committed
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <pthread.h>
#include <sys/types.h>
#include <sys/wait.h>

int main() {
    // TODO: Fork multiple processes here
    // TODO: Each process with a different number of threads
    // TODO: Each thread should print the PID and TID
}