{"id":21064538,"url":"https://github.com/tawfik-s/java-multi-threading","last_synced_at":"2025-10-14T18:04:56.916Z","repository":{"id":233569553,"uuid":"618352533","full_name":"tawfik-s/java-multi-threading","owner":"tawfik-s","description":"playground for learning multi threading in java ","archived":false,"fork":false,"pushed_at":"2023-03-25T11:12:52.000Z","size":224,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T18:04:51.969Z","etag":null,"topics":["java","java-strings","lock","multithreading","semaphore","syncronous"],"latest_commit_sha":null,"homepage":"","language":"Java","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/tawfik-s.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-24T09:33:50.000Z","updated_at":"2024-01-10T13:59:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed07e06b-7fbf-4b94-8234-25f9f712f7d6","html_url":"https://github.com/tawfik-s/java-multi-threading","commit_stats":null,"previous_names":["tawfik-s/java-multi-threading"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tawfik-s/java-multi-threading","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tawfik-s%2Fjava-multi-threading","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tawfik-s%2Fjava-multi-threading/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tawfik-s%2Fjava-multi-threading/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tawfik-s%2Fjava-multi-threading/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tawfik-s","download_url":"https://codeload.github.com/tawfik-s/java-multi-threading/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tawfik-s%2Fjava-multi-threading/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020319,"owners_count":26086864,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["java","java-strings","lock","multithreading","semaphore","syncronous"],"created_at":"2024-11-19T17:49:55.971Z","updated_at":"2025-10-14T18:04:56.881Z","avatar_url":"https://github.com/tawfik-s.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# java-multi-threading\nplayground for learning multi-threading in java \n\n## thread states diagram\n![threadstates.png](images/threadstates.png)\n\n## Deadlock example diagram\n![deadlockexample.png](images/deadlockexample.png)\n\n## synchronized collection\nThe classes in the Java Collections Framework are not thread-safe; that is, their contents may\nbecome corrupted if they are accessed and updated concurrently by multiple threads. You can\nprotect the data in a collection by locking the collection or by using synchronized collections.\nThe Collections class provides six static methods\n\n![synchronized_collection.png](images/synchronized_collection.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftawfik-s%2Fjava-multi-threading","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftawfik-s%2Fjava-multi-threading","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftawfik-s%2Fjava-multi-threading/lists"}