[NSWI004] Assignment 03: threads

Vojtech Horky horky at d3s.mff.cuni.cz
Thu Nov 7 11:07:04 CET 2019


Hello,

we have published assignment #3 in GitLab.

TL;DR version:
  * new assignment in upstream repository
  * 02-heap will be tested against master branch
  * mark reused code properly
  * code quality will be checked more thoroughly

Somewhat longer description follows.

The third assignment is about threads and scheduling, your task is to 
implement a cooperative scheduler. We have provided a suite of basic 
tests but we will check the functionality manually.

If you plan to start working on this assignment before deadline for the 
previous one, ensure that your master branch works correctly for the 
heap and printk assignments. In other words, we will be checking state 
of your repository at the time of deadline in your master branch (or in 
as2 tag if present).

The new code changes kernel initialization routine a lot: kernel tests 
are now run in a separate thread. Therefore a merge with upstream will 
probably cause failure of all tests.

It is thus recommended to start the merge in a new branch and merge this 
branch after deadline. Review the changes before merging as there 
probably will be some merge conflicts, especially around kernel_main 
function.

Ensure that all code you reused is properly cited, URL above the code is 
usually enough. But do not reuse code where your implementation is the 
purpose of the assignment (e.g. reusing data structures implementation 
vs. full heap implementation).

Note that we will be more strict in evaluation of your assignments with 
respect to code quality: format the code consistently, use descriptive 
identifier names, remove duplicate code etc. etc.

- VH


More information about the NSWI004 mailing list