Skip to content

Multithreaded implementation of Conway's Game of Life in C using the POSIX clone call.

Notifications You must be signed in to change notification settings

samdindyal/ConwaysGameOfLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Conway's Game of Life (Clone Call Implementation)

This is an implementation of Conway's Game of Life in C, using Linux's "clone" call, that I created for my Intro to Operating Systems course for school. It takes two command line arguments, the first one being the directory of the input file and the second being the amount of threads to use. The syntax for running it is as follows:

./A1 file 4

Where the directory of the input file is represented by "file" and the number of threads going to be created is 4. It can also be run with a single command line argument, being the directory of the input file and the syntax for that is as follows:

./A1 file

Where "file" is the directory of input file. If executed this way, it will run with a single thread.

I have created some test files and have put them in the "res" folder in the root directory of this repository. Feel free to try them out.

About

Multithreaded implementation of Conway's Game of Life in C using the POSIX clone call.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages