gc.realloc: If old block attributes are preserved, communicate them from reallocNoSync to realloc.
Enable per-thread errno on Solaris
Remove unused Thread.sm_clen variable.

It stored the size of the global context list, but that isn't used
explicitly anywhere.
Added comment for -D_REENTRANT
Merge pull request #862 from klickverbot/remove-sm_clen

Remove unused Thread.sm_clen variable.
remove thread.di header

- Use extern(D) bindings for the core.thread<->rt.tlsgc
  interface to avoid importing a rt module in core.
Merge pull request #860 from jasonbking/errno

Enable per-thread errno on Solaris
fix Issue 13034 - [Reg] core.stdc.stdio - deprecation warning with dmd -inline
Merge pull request #866 from WalterBright/fix13034

fix Issue 13034 - [Reg] core.stdc.stdio - deprecation warning with ...
Merge pull request #844 from Safety0ff/reallocbits

gc.realloc: Improve case where old block attributes are preserved
Merge pull request #865 from MartinNowak/tlsgc_externD

remove thread.di header
Mark threadasm.S as not requiring an executable stack.
Merge pull request #868 from klickverbot/threadasm-exec-stack

Mark threadasm.S as not requiring an executable stack.
The GC will now call destructors on heap allocated structs. It is impossible to feasibly implement the invokation of arrays of finalizable structs, due to the inability to know which elements in the array, which may, or may not have been, initialized to begin with. There is also no way to know what the actual length of the array is, you can know how much memory was allocated for it, but not whether there was ever a reference to that point in the array. The destructors for structs in classes are still called as they were previously, which is immediately after the body of the outer class's finalizer.
Added _d_delstruct for use by the delete operator when deleting a pointer to a struct.