{"id":16104871,"url":"https://github.com/dbc2201/therabbitandthetortoise","last_synced_at":"2025-07-27T08:06:16.855Z","repository":{"id":56574163,"uuid":"307924047","full_name":"dbc2201/TheRabbitAndTheTortoise","owner":"dbc2201","description":null,"archived":false,"fork":false,"pushed_at":"2020-10-30T17:52:32.000Z","size":6,"stargazers_count":3,"open_issues_count":2,"forks_count":128,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T08:19:50.849Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/dbc2201.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}},"created_at":"2020-10-28T06:17:03.000Z","updated_at":"2021-08-20T06:22:29.000Z","dependencies_parsed_at":"2022-08-15T21:10:46.357Z","dependency_job_id":null,"html_url":"https://github.com/dbc2201/TheRabbitAndTheTortoise","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbc2201%2FTheRabbitAndTheTortoise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbc2201%2FTheRabbitAndTheTortoise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbc2201%2FTheRabbitAndTheTortoise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbc2201%2FTheRabbitAndTheTortoise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbc2201","download_url":"https://codeload.github.com/dbc2201/TheRabbitAndTheTortoise/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910750,"owners_count":20367545,"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":[],"created_at":"2024-10-09T19:06:47.858Z","updated_at":"2025-03-18T08:31:32.701Z","avatar_url":"https://github.com/dbc2201.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GLA University, Mathura\n\n## BCSC 1002 Object-Oriented Programming\n\n### Multithreading Lab Task\n\n---\n**TASK**\n- Create a definition class for a \"thread\" in java, \nby implementing the `java.lang.Runnable` interface.\nThis thread will be the thread for a \"rabbit\".\n- Create a definition class for a \"thread\" in java,\nby extending the `java.lang.Thread` class.\nThis class will be the thread for a \"tortoise\".\n\n- The Rabbit thread and the Tortoise thread will have a race.\n(they will start executing concurrently)\n\n- The Rabbit thread is a fast one, and it executes\nwith a step of 1.5s (it sleeps for 1.5s).\n\n- The Tortoise thread is a slow one, and it executes with a step of 3.0s\n(it sleeps for 3.0s).\n\n- The milestones in the race are as follows\n    - The Start Line\n    - The Cool River\n    - The Mountain Hill\n    - The Big Oak Tree\n    - The Finish Line\n\n- The thread that you create for either of the participant of the race\nshall execute in 5 steps for each of the milestones; and don't forget to make them pause (sleep).      ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbc2201%2Ftherabbitandthetortoise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbc2201%2Ftherabbitandthetortoise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbc2201%2Ftherabbitandthetortoise/lists"}