[haiku-commits] Change in haiku[master]: libroot: Introduce thread specific heap init/exit hooks.

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 25 Dec 2018 22:42:35 +0000

From Michael Lotz <mmlr@xxxxxxxx>:

Michael Lotz has uploaded this change for review. ( 
https://review.haiku-os.org/799


Change subject: libroot: Introduce thread specific heap init/exit hooks.
......................................................................

libroot: Introduce thread specific heap init/exit hooks.

This allows heap implementations to initialize and clean up any thread
specific structures. The current default hoard heap does not use these.

Note that the thread exit hook will not be called for the main thread as
the heap may be needed during process termination (__cxa_finalize for
example).
---
M headers/private/libroot/libroot_private.h
M src/system/libroot/os/thread.c
M src/system/libroot/posix/malloc/wrapper.cpp
M src/system/libroot/posix/malloc_debug/malloc_debug_api.cpp
M src/system/libroot/posix/pthread/pthread.cpp
M src/system/libroot/stubbed/libroot_stubs.c
6 files changed, 35 insertions(+), 2 deletions(-)



  git pull ssh://git.haiku-os.org/haiku refs/changes/99/799/1
--
To view, visit https://review.haiku-os.org/799
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I703fbd34dec0d9029d619a2125c5b19d8c1933aa
Gerrit-Change-Number: 799
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Lotz <mmlr@xxxxxxxx>

Other related posts:

  • » [haiku-commits] Change in haiku[master]: libroot: Introduce thread specific heap init/exit hooks. - Gerrit