{"id":27312947,"url":"https://github.com/zainabdnaya/philosepher_42","last_synced_at":"2025-07-18T03:38:27.101Z","repository":{"id":197607259,"uuid":"361038509","full_name":"zainabdnaya/Philosepher_42","owner":"zainabdnaya","description":"The Dining_Philosepher_probleme:  In this repository u will see the basics of threading a process and how to work on the same memory space","archived":false,"fork":false,"pushed_at":"2021-07-09T11:35:37.000Z","size":1553,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T06:49:51.551Z","etag":null,"topics":["c","dining-philosophers","dining-philosophers-problem","mutex","pthread","semaphores"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zainabdnaya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-04-24T00:42:27.000Z","updated_at":"2022-05-17T18:07:39.000Z","dependencies_parsed_at":"2023-10-01T18:19:18.135Z","dependency_job_id":null,"html_url":"https://github.com/zainabdnaya/Philosepher_42","commit_stats":null,"previous_names":["zainabdnaya/philosepher_42"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zainabdnaya%2FPhilosepher_42","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zainabdnaya%2FPhilosepher_42/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zainabdnaya%2FPhilosepher_42/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zainabdnaya%2FPhilosepher_42/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zainabdnaya","download_url":"https://codeload.github.com/zainabdnaya/Philosepher_42/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248530605,"owners_count":21119595,"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","dining-philosophers","dining-philosophers-problem","mutex","pthread","semaphores"],"created_at":"2025-04-12T06:49:55.705Z","updated_at":"2025-04-12T06:49:57.238Z","avatar_url":"https://github.com/zainabdnaya.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Philosepher_42  :tada:\nIn this repository u will see he basics of threading a process and how to work on the same memory space\n\n# What is MultiThreads? 🧵\n\n    Multithreading is a specialized form of multitasking\n    and a multitasking is the feature that allows your computer \n    to run two or more programs concurrently.\n    \n    \n\u003ca href=\"https://ibb.co/G2DdpGx\"\u003e\u003cimg src=\"https://i.ibb.co/BZJf3vz/Screen-Shot-2021-05-20-at-9-41-36-PM.png\" alt=\"Screen-Shot-2021-05-20-at-9-41-36-PM\" border=\"0\"\u003e\u003c/a\u003e\u003cbr /\u003e\n    \n # What Are Threads? :clipboard:\t\n    A thread is a small sequence of programmed instructions.\n    Threads refer to the highest level of code your processor can execute.\n  \n# What The point of mutex ? :dart:\t\n\n    the point of a mutex is to synchronize two threads. \n    When you have two threads attempting to access a single resource, the general pattern is to have the first block of code attempting access to set the mutex         before entering the code. \n    When the second code block attempts access, it sees that the mutex is set and waits until the first block of code is complete (and unsets the mutex),\n    then  continues.\n \n # What is semaphores\n \n   Semaphore is simply a variable that is non-negative and shared between threads. \n   This variable is used to solve the critical section problem and to achieve process synchronization in the multiprocessing environment. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzainabdnaya%2Fphilosepher_42","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzainabdnaya%2Fphilosepher_42","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzainabdnaya%2Fphilosepher_42/lists"}