- Timestamp:
- Sep 14, 2020, 6:36:03 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
azure_iot_hub_riscv/trunk/asp_baseplatform/syssvc/malloc.c
r453 r458 307 307 ER ret; 308 308 if (sense_context()) 309 ret = iloc_cpu(); 309 //ret = iloc_cpu(); 310 ret = E_CTX; 310 311 else 311 ret = loc_cpu();312 ret = wai_sem(MALLOC_SEM); 312 313 if (ret != E_OK) 313 314 syslog_1(LOG_ERROR, "__malloc_unlock: count[%d] loc_cpu", malloc_lock_count); … … 322 323 ER ret; 323 324 if (sense_context()) 324 ret = iunl_cpu(); 325 //ret = iunl_cpu(); 326 ret = E_CTX; 325 327 else 326 ret = unl_cpu();328 ret = sig_sem(MALLOC_SEM); 327 329 if (ret != E_OK) 328 330 syslog_1(LOG_ERROR, "__malloc_unlock: count[%d] unl_cpu error !", malloc_lock_count);
Note:
See TracChangeset
for help on using the changeset viewer.