https://github.com/RT-Thread-packages/kernel-sample
RT-Thread kernel samples
https://github.com/RT-Thread-packages/kernel-sample
Last synced: 3 months ago
JSON representation
RT-Thread kernel samples
- Host: GitHub
- URL: https://github.com/RT-Thread-packages/kernel-sample
- Owner: RT-Thread-packages
- License: apache-2.0
- Created: 2018-08-21T08:17:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-09-15T09:06:13.000Z (over 1 year ago)
- Last Synced: 2023-09-16T00:49:40.306Z (over 1 year ago)
- Language: C
- Size: 143 KB
- Stars: 75
- Watchers: 7
- Forks: 46
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rt-thread - kernel_samples - A kernel_samples package for rt-thread. (Packages / Misc)
- awesome-rt-thread - kernel_samples - A kernel_samples package for rt-thread. (Packages / Misc)
README
# kernel samples package
## 1. Introduction
This package contains sample code related to the RT-Thread kernel.
| 文件 | 说明 |
| ---- | ---- |
| dynmem_sample.c | dynamic memory allocation & management |
| event_sample.c | event |
| idlehook_sample.c | idle thread hook function |
| interrupt_sample.c | disable / enable interrupt |
| mailbox_sample.c | mailbox |
| memp_sample.c | memory pool |
| msgq_sample.c | message queue |
| mutex_sample.c | mutex |
| priority_inversion.c | prevent priority inversions |
| producer_consumer.c | producer & consumer problem |
| scheduler_hook.c | scheduler hook function |
| semaphore_sample.c | semaphore |
| signal_sample.c | signal |
| thread_sample.c | thread |
| timer_sample.c | timer |
| timeslice_sample.c | time-slicing |## 2. How to use kernel samples package
You 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:
```
RT-Thread online packages
miscellaneous packages --->
samples: kernel and components samples --->
a kernel_samples package for rt-thread --->
```## 3. License
This package is an open source software and has been licensed under Apache License Version 2.0.
## 4. Maintained by
* Yang Jie: https://github.com/yangjie11
* Meco Man: https://github.com/mysterywolf
* https://github.com/RT-Thread-packages/kernel-sample