An College Project worked by individual for System Programming
Linux Bus checker is Demo Software that can show the available bus list, reserve bus tickets by maximum People Number and also can automatically sleep if none of the inputs are given.
- show the current available bus list.
- reserve tickets, if reserved tickets are sold out, print text that you cannot buy the ticket anymore.
- if none of the inputs are given, turn the program's sleep mode on (Timer Signal)
- If Sleep Mode, clear all console, Show Command. If input comes, then Execute the command.
- If NOT Sleepmode, Wait For 10 sec
- ex)
- =======Please Input command========
- = 1. Show Current Time : Press s =
- = 2. Show Bus List : Press l =
- = 3. Turn Reserve Mode : Press r =
- = 4. Quit : Press q =
- =================================== ( n sec left) :
- Uses Multiple Processes that are consisted of System.exe and Execute.exe (Fork)
- Show the current time by socket programming (Socket)
- The input System is consisted by Asynchronous input (SIGIO)