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:
bernard.xiong@gmail.com 2012-10-22 23:27:04 +00:00
parent 1c425607c3
commit f4d768ec56
1 changed files with 2 additions and 0 deletions

View File

@ -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 */
};
/**