mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
Add mutex lock in memheap object.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2366 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
1 parent
1c425607c3
commit
f4d768ec56
1 file changed
+2
@@ -595,6 +595,8 @@ struct rt_memheap
|
||||
|
||||
struct rt_memheap_item *free_list; /**< free block list */
|
||||
struct rt_memheap_item free_header; /**< free block list header */
|
||||
|
||||
struct rt_mutex lock; /**< mutex lock */
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user