Changeset 45c8eea in mainline for uspace/lib/c/generic/malloc.c
- Timestamp:
- 2018-11-11T15:47:39Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f4cb6c5f
- Parents:
- 269bc459
- git-author:
- Jakub Jermar <jakub@…> (2018-11-10 17:49:44)
- git-committer:
- Jakub Jermar <jakub@…> (2018-11-11 15:47:39)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/malloc.c
r269bc459 r45c8eea 195 195 196 196 /** Futex for thread-safe heap manipulation */ 197 static FIBRIL_RMUTEX_INITIALIZE(malloc_mutex);197 static fibril_rmutex_t malloc_mutex; 198 198 199 199 #define malloc_assert(expr) safe_assert(expr) … … 484 484 void __malloc_init(void) 485 485 { 486 if (fibril_rmutex_initialize(&malloc_mutex) != EOK) 487 abort(); 488 486 489 if (!area_create(PAGE_SIZE)) 487 490 abort();
Note:
See TracChangeset
for help on using the changeset viewer.