{"id":24091748,"url":"https://github.com/RT-Thread-packages/kernel-sample","last_synced_at":"2025-09-17T01:32:01.155Z","repository":{"id":33531841,"uuid":"145530497","full_name":"RT-Thread-packages/kernel-sample","owner":"RT-Thread-packages","description":"RT-Thread kernel samples","archived":false,"fork":false,"pushed_at":"2023-09-15T09:06:13.000Z","size":146,"stargazers_count":75,"open_issues_count":0,"forks_count":46,"subscribers_count":7,"default_branch":"master","last_synced_at":"2023-09-16T00:49:40.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RT-Thread-packages.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}},"created_at":"2018-08-21T08:17:13.000Z","updated_at":"2023-08-15T12:10:44.000Z","dependencies_parsed_at":"2022-08-07T22:00:35.961Z","dependency_job_id":null,"html_url":"https://github.com/RT-Thread-packages/kernel-sample","commit_stats":null,"previous_names":[],"tags_count":5,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RT-Thread-packages%2Fkernel-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RT-Thread-packages%2Fkernel-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RT-Thread-packages%2Fkernel-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RT-Thread-packages%2Fkernel-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RT-Thread-packages","download_url":"https://codeload.github.com/RT-Thread-packages/kernel-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233312711,"owners_count":18657092,"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":"2025-01-10T07:44:41.593Z","updated_at":"2025-09-17T01:31:55.839Z","avatar_url":"https://github.com/RT-Thread-packages.png","language":"C","readme":"# kernel samples package\n\n## 1. Introduction\n\nThis package contains sample code related to the RT-Thread kernel.\n\n| 文件 | 说明 |\n| ---- | ---- |\n| dynmem_sample.c | dynamic memory allocation \u0026 management |\n| event_sample.c  | event |\n| idlehook_sample.c  | idle thread hook function |\n| interrupt_sample.c | disable / enable interrupt |\n| mailbox_sample.c | mailbox |\n| memp_sample.c  | memory pool |\n| msgq_sample.c | message queue |\n| mutex_sample.c  | mutex |\n| priority_inversion.c | prevent priority inversions |\n| producer_consumer.c | producer \u0026 consumer problem |\n| scheduler_hook.c | scheduler hook function |\n| semaphore_sample.c | semaphore |\n| signal_sample.c  | signal |\n| thread_sample.c | thread |\n| timer_sample.c  | timer |\n| timeslice_sample.c  | time-slicing |\n\n\n\n## 2. How to use kernel samples package\n\nYou can use [ENV tool](https://www.rt-thread.io/download.html?download=Env) or [RT-Studio IDE](https://www.rt-thread.io/studio.html) to activate this package:\n\n```\nRT-Thread online packages\n    miscellaneous packages ---\u003e\n        samples: kernel and components samples ---\u003e\n            a kernel_samples package for rt-thread ---\u003e\n```\n\n\n\n## 3. License\n\nThis package is an open source software and has been licensed under Apache License Version 2.0.\n\n\n\n## 4. Maintained by\n\n* Yang Jie: https://github.com/yangjie11\n* Meco Man:  https://github.com/mysterywolf\n* https://github.com/RT-Thread-packages/kernel-sample\n","funding_links":[],"categories":["Packages"],"sub_categories":["Misc"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRT-Thread-packages%2Fkernel-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRT-Thread-packages%2Fkernel-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRT-Thread-packages%2Fkernel-sample/lists"}