| Duración |
Del 10 Al 26 de junio 2009 (3 semanas) |
| Horario: |
De 10a.m. a 12 p.m. |
| Dias: | Miércoles y viernes |
| Costo: | Q.500.00 |
| Salon: | Laboratorio 215 |
FASE 1.1 - FASE 1.2 (01, Febrero 2009 11:55 PM)
in
- 1.1 (5%, 5 lines) Implement KThread.join(). Note that another thread does not have to call join(), but if it is called, it must be called only once. The result of calling join() a second time on the same thread is undefined, even if the second caller is a different thread than the first caller. A thread must finish executing normally whether or not it is joined.
- 1.2 (5%, 20 lines) Implement condition variables directly, by using interrupt enable and disable to provide atomicity. We have provided a sample implementation that uses semaphores; your job is to provide an equivalent implementation without directly using semaphores (you may of course still use locks, even though they indirectly use semaphores). Once you are done, you will have two alternative implementations that provide the exact same functionality. Your second implementation of condition variables must reside in class nachos.threads.Condition2.
- Inicie sesión para enviar comentarios