]> granicus.if.org Git - gc/commit
Workaround 'pointer used before comparison to null' code defect (pthread)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 7 Dec 2016 07:40:15 +0000 (10:40 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 6 Feb 2017 17:27:07 +0000 (20:27 +0300)
commitbcd444af98d9068452652650e1690316e1cc7b80
treee1226c5eccc38cce3682f866e9aee222d3a57495
parent03464abe0bbfd0cbfd9291b418932b9c44dd9f4a
Workaround 'pointer used before comparison to null' code defect (pthread)
(fix commit 31b3afc)

* pthread_support.c [GC_PTHREADS && !GC_WIN32_THREADS && DEBUG_THREADS]
(GC_pthread_create): Do not check new_thread is non-NULL (because
new_thread is first passed to the underlying pthread_create() where
the argument is marked with "nonnull" attribute).
pthread_support.c