Add g_assert_not_reached () to mono_gc_pthread_exit ().
[mono.git] / mono / metadata / tpool-epoll.c
index 876a82bc07bff45490a716f78bce24876feff78f..41242c6b5e9fda1afca864de7c71a3ecc6d0df82 100644 (file)
@@ -177,7 +177,7 @@ tp_epoll_wait (gpointer p)
                }
                LeaveCriticalSection (&socket_io_data->io_lock);
                threadpool_append_jobs (&async_io_tp, (MonoObject **) async_results, nresults);
-               mono_gc_bzero (async_results, sizeof (gpointer) * nresults);
+               mono_gc_bzero_aligned (async_results, sizeof (gpointer) * nresults);
        }
 }
 #undef EPOLL_NEVENTS