Move bin forking code from arena to bin module.

This commit is contained in:
David T. Goldblatt
2017-10-01 18:10:36 -07:00
committed by David Goldblatt
parent a8dd8876fb
commit 48bb4a056b
3 changed files with 22 additions and 4 deletions

View File

@@ -80,5 +80,8 @@ struct bin_s {
/* Returns true on error. */
bool bin_init(bin_t *bin);
void bin_prefork(tsdn_t *tsdn, bin_t *bin);
void bin_postfork_parent(tsdn_t *tsdn, bin_t *bin);
void bin_postfork_child(tsdn_t *tsdn, bin_t *bin);
#endif /* JEMALLOC_INTERNAL_BIN_H */