mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-12 19:57:17 +03:00
Move bin forking code from arena to bin module.
This commit is contained in:
parent
a8dd8876fb
commit
48bb4a056b
3 changed files with 22 additions and 4 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue