GitHub topics: sequential-numbers
desi109/race-task
Course project: Operating Systems (OS) ➟ Wite a shell script that produces a file of sequential numbers by reading the last number in the file, adding 1 to it, and then appending to the file. Run one instance of the script in the background and one in the foreground, each accessing the same file. Modify the script to prevent the race.
Language: Shell - Size: 3.18 MB - Last synced at: almost 2 years ago - Pushed at: almost 4 years ago - Stars: 1 - Forks: 0
