Fix GC_restart_handler to preserve errno if needed
authorIvan Maidanski <ivmai@mail.ru>
Tue, 10 Jan 2012 17:00:59 +0000 (21:00 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 11 Jan 2012 14:51:58 +0000 (18:51 +0400)
commit594ce15c55f0a717b365f3ed7f3e6880a85b4a2f
treeb47d13b2ae8cddd67ba2d3b0e693f217b22a3897
parent5053ef95b911e5a3a2625bc8bcb3d200b3b42e2f
Fix GC_restart_handler to preserve errno if needed

* pthread_stop_world.c (GC_restart_handler): Preserve errno value in
case of sem_post or GC_log_printf invocation inside.
pthread_stop_world.c