create_thread_struct: don't allocate os_attr separately.
commite71ad1613e7f003bfa36c91eebb3ee4950cd1cd6
authorStas Boukarev <stassats@gmail.com>
Sat, 20 Feb 2016 18:44:33 +0000 (20 21:44 +0300)
committerStas Boukarev <stassats@gmail.com>
Sat, 20 Feb 2016 18:44:33 +0000 (20 21:44 +0300)
treebe3b0e0881d813d08406925a2f8b92f0aab08295
parentf723f68aa847501d7f30e1403f79a678f7da2fe2
create_thread_struct: don't allocate os_attr separately.

Allocate it together with the whole thread struct.
src/runtime/thread.c
src/runtime/thread.h