Newer
Older
#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
}