]> granicus.if.org Git - gc/commit
Fix error code in abort message if sem_wait failed in start_world (NetBSD)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 27 Dec 2017 08:09:48 +0000 (11:09 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 19 Jan 2018 16:12:22 +0000 (19:12 +0300)
commitfa73c57a83a3a6eb50d111f9f2cb0a1341dc55e1
treee852a219656504781c63729d93ff2738ef573114
parent7ca0559c5cd0a4caa7d9766845c7f6aee1095ef0
Fix error code in abort message if sem_wait failed in start_world (NetBSD)
(backport of commit 8f42658f from 'release-7_6')

* pthread_stop_world.c [GC_NETBSD_THREADS_WORKAROUND] (GC_start_world):
Print errno instead of the value returned by sem_wait if the latter has
failed; remove "code" local variable.
pthread_stop_world.c