{"id":25002232,"url":"https://github.com/pprattis/processes-and-threads","last_synced_at":"2025-06-24T10:33:49.668Z","repository":{"id":194622009,"uuid":"215990891","full_name":"pprattis/processes-and-threads","owner":"pprattis","description":"A program written with compatibility with Posix and uses Posix Threads to increase or/and decrease a global variable creating a child process and threads.","archived":false,"fork":false,"pushed_at":"2019-10-18T09:54:37.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T21:44:19.229Z","etag":null,"topics":["c","posix","posix-threads","programm","student","subsidiary-process"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pprattis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-10-18T09:38:43.000Z","updated_at":"2019-10-20T22:47:16.000Z","dependencies_parsed_at":"2023-09-14T10:27:49.036Z","dependency_job_id":null,"html_url":"https://github.com/pprattis/processes-and-threads","commit_stats":null,"previous_names":["peteprattis/processes-and-threads","pprattis/processes-and-threads"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pprattis%2Fprocesses-and-threads","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pprattis%2Fprocesses-and-threads/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pprattis%2Fprocesses-and-threads/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pprattis%2Fprocesses-and-threads/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pprattis","download_url":"https://codeload.github.com/pprattis/processes-and-threads/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246243567,"owners_count":20746307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","posix","posix-threads","programm","student","subsidiary-process"],"created_at":"2025-02-04T21:40:24.657Z","updated_at":"2025-03-29T20:44:18.641Z","avatar_url":"https://github.com/pprattis.png","language":"C","readme":"# A C Project\n\n**This is a simple C project from my early days as a Computer Science student**\n\n_This programm was created for the third semester class Operating Systems \nand is a simple C programm neccessary to pass the class_\n\n\n\u003e #### Description of project \n\u003e\n\u003e\u003eA program written with compatibility with Posix and uses Posix Threads to increase or/and decrease a global variable creating a child process and threads.\n\u003e\u003e 1. The program implements a function called change_number that can increase (or decrease) a universal integer variable by a step given by the user.\n\u003e\u003e 2. The program creates a subsidiary process in its execution and implements change_number twice in a different way: the parent process reduces its own copy of the global variable by 1, while the subsidiary increases its own copy of the global variable by 2.\n\u003e\u003e 3. The subsidiary process will create two threads: one will increase the value of one variable and the second will reduce the value of the same variable.\n\u003e\n\n\u003e #### About this project\n\u003e\n\u003e - The comments to make the code understandable, are within the archives\n\u003e - This program was written for Linux environment which is compatible with POSIX\n\u003e - This repository was created to show the variety of the work I did and experience I gained as a student\n\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpprattis%2Fprocesses-and-threads","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpprattis%2Fprocesses-and-threads","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpprattis%2Fprocesses-and-threads/lists"}