Tuesday, September 13, 2011

First practical presentation

This entry is for presenting the code implemented in nachOS as part of the first assignment.
The pictures above show some results obtained when running the implemented code which is also described in it's more important parts.

Sunday, September 11, 2011

First Theoretical Presentation

This entry is for the first theoretical presentation.
The content of the entry is an explication to solve the problem unbounded-buffer, and a the unity test for the implement of lock using semaphore, for the project we are working with nachOS 3.4 and C++.

The next code is an example of how to solve the problem unbounded buffer using three locks, one lock for producers, the second lock for consumers and the last one for protecting the access to products.