(1) WE ADD 1 SYSCALL TO USERPROGR/SYSCALL.H
(2) WE ADD THE DECLARATION OF THAT SYSCALL IN THE SAME FOLDER
(3) WE WRITE SOME THINGS TEST/START.S FOLDER IN ASSAMBLER LANGUAGE -> CUADRADO
(4) WE ALSO ADD SOME CODE IN USERPROGR/MAKEFILE. WE WRITE OUR LITTLE CODE NAME, SO THE KERNEL COULD READ OUR PROGRAM.
(5) WHEN WE FINISHED ALL CHANGES WE NEEDED, WE WRITE A LITTLE CODE TO USE THOSE DECLARATIONS AND SYSTEM CALL..
(6) AFTER ALL WE DID WE REALIZE THAT NACHOS DIDN'T COMPILE AGAIN!! :C
SO, BECAUE OF THIS REASON, WE COULD JUST FIX OUR DINING PHILOSOPHERS PROBLEM IN JAVA. WE WERE ABLE TO AVOID THE DEADLOCK
THIS IS OUR SOLVED CODE:
IT WORKS :) EACH PHILOSOPHER SHARES IT FORK WITH THE OTHERS :)