rt-thread-official/src
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
..
SConscript Add RT_USING_MEMHEAP_AS_HEAP feature: system can use "heap" memheap as system default memory heap. 2012-12-29 12:29:03 +00:00
clock.c Embedded GPLv2 license. 2013-06-24 17:06:09 +08:00
device.c device: add ref_count support 2013-07-09 15:44:55 +08:00
idle.c Embedded GPLv2 license. 2013-06-24 17:06:09 +08:00
ipc.c Embedded GPLv2 license. 2013-06-24 17:06:09 +08:00
irq.c Embedded GPLv2 license. 2013-06-24 17:06:09 +08:00
kservice.c Embedded GPLv2 license. 2013-06-24 17:06:09 +08:00
mem.c Embedded GPLv2 license. 2013-06-24 17:06:09 +08:00
memheap.c reformat the coding style 2013-06-29 10:00:14 +08:00
mempool.c Embedded GPLv2 license. 2013-06-24 17:06:09 +08:00
module.c Embedded GPLv2 license. 2013-06-24 17:06:09 +08:00
module.h Embedded GPLv2 license. 2013-06-24 17:06:09 +08:00
object.c Embedded GPLv2 license. 2013-06-24 17:06:09 +08:00
scheduler.c Embedded GPLv2 license. 2013-06-24 17:06:09 +08:00
slab.c Embedded GPLv2 license. 2013-06-24 17:06:09 +08:00
thread.c Embedded GPLv2 license. 2013-06-24 17:06:09 +08:00
timer.c Embedded GPLv2 license. 2013-06-24 17:06:09 +08:00