Skip to content

Instantly share code, notes, and snippets.

View Mazzei64's full-sized avatar

Bruno Mazzei Mazzei64

  • Rio de Janeiro/Rj
  • 04:53 (UTC -03:00)
View GitHub Profile
@Mazzei64
Mazzei64 / basic_scheduler.c
Created July 21, 2021 03:20 — forked from hlippek/basic_scheduler.c
Implementation of a basic task scheduler
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define MAX_PROCESSES 32 /* the maximal number of processes in the system */
#define MAX_NAME_LEN 32
/* Process control block -
* holding all process relevant informations
*/