commit | 1ff6664e982f105b69e6e8de431deb04013ba41c | [log] [tgz] |
---|---|---|
author | Stephanos Ioannidis <root@stephanos.io> | Wed May 12 23:40:33 2021 +0900 |
committer | Kumar Gala <kumar.gala@gmail.com> | Thu May 13 07:30:43 2021 -0500 |
tree | d12b431a101ca41b535a46dc8529c66679680364 | |
parent | b0e690ac1e7d4a440b2374e14d2c4d831a7849d2 [diff] |
lib: newlib: Remove internal _sbrk lock This commit removes the lock inside the newlib internal `_sbrk` function, which is called by `malloc` when additional heap memory is needed. This lock is no longer required because any calls to the `malloc` function are synchronised by the `__malloc_lock` and `__malloc_unlock` functions. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>