Grissiom 7bcce9e87f device: add ref_count support
This is a simple work around to the current device stack design. A
ref_count could let different modules to open/close the same device
independently without interfere others in some degree.

But there is still some data shared between the modules, like flag,
open_flag and user_data. Moreover, it won't yield an error if A open a
device, and B read from it before open it in B. Maybe alloc a new handle
in rt_device_open will be the ultimate solution. But that is much bigger
change and we may leave it to future development.
2013-07-09 15:44:55 +08:00
2013-07-04 18:04:47 +08:00
2013-04-10 00:17:52 +08:00
2013-07-09 15:44:55 +08:00
2013-06-24 22:57:27 +08:00
2013-07-09 15:44:55 +08:00
2013-01-08 23:57:29 +08:00
2013-03-28 23:28:19 +08:00
2013-05-05 05:45:41 +08:00
2013-01-09 00:06:34 +08:00
2013-05-05 05:41:37 +08:00

RT-Thread

Build Status

RT-Thread is an open source real-time operating system for embedded devices.

Description
rt-thread 私人库
Readme Apache-2.0 979 MiB
Languages
C 97.6%
Assembly 1.9%
Python 0.3%
HTML 0.1%