In this assignment, we are given the task of the implementing a simple runtime that will support cooperative tasks running within a single thread.
In this assignment, we are given the task of the implementing a simple runtime that will support cooperative tasks running within a single thread in c++.
### 1.2 Preparations
### 1.2 What is a Fiber ?
Fibers
### 1.2 What is a Thread ?
#### 1.2.1 Pre-requisites
#### 1.2.1 Installations
---
...
...
@@ -23,6 +25,8 @@ In this assignment, we are given the task of the implementing a simple runtime t
### 2.1 Explanation
Task 1 involves the implementation of a context switching system for fibers in C++ and focuses on saving and storing the execution state of a program, which enables the switching between alternate execution paths. The process will involves the manipulations of stacks as well as CPU registers and instructions pointer which will be execcuted via assembly functions. The objective is to create an implementaton that will allow the user to switch manually in between functons (fibers), which will simulate cooperative multitasking on a single thread.