| commit | 10aff3f3e1b8b3ac0348b259c439c9fe870a6b95 | [log] [tgz] |
|---|---|---|
| author | Jason Evans <jasone@canonware.com> | Tue Jan 20 15:37:51 2015 -0800 |
| committer | Jason Evans <je@fb.com> | Thu Jan 22 14:04:27 2015 -0800 |
| tree | cebdc2d0a8fe8b5d3f3c60e0a48a2a19e0fe97c2 | |
| parent | bc96876f99e89705817630b503ac54a5c48789ab [diff] |
Refactor bootstrapping to delay tsd initialization.
Refactor bootstrapping to delay tsd initialization, primarily to support
integration with FreeBSD's libc.
Refactor a0*() for internal-only use, and add the
bootstrap_{malloc,calloc,free}() API for use by FreeBSD's libc. This
separation limits use of the a0*() functions to metadata allocation,
which doesn't require malloc/calloc/free API compatibility.
This resolves #170.