*completion_port_threads = threadpool->limit_io_max;
}
-gboolean
+MonoBoolean
ves_icall_System_Threading_Microsoft_ThreadPool_SetMinThreadsNative (gint worker_threads, gint completion_port_threads)
{
ensure_initialized (NULL);
return TRUE;
}
-gboolean
+MonoBoolean
ves_icall_System_Threading_Microsoft_ThreadPool_SetMaxThreadsNative (gint worker_threads, gint completion_port_threads)
{
gint cpu_count = mono_cpu_count ();
ensure_initialized (enable_worker_tracking);
}
-gboolean
+MonoBoolean
ves_icall_System_Threading_Microsoft_ThreadPool_NotifyWorkItemComplete (void)
{
ThreadPoolCounter counter;
}
void
-ves_icall_System_Threading_Microsoft_ThreadPool_ReportThreadStatus (gboolean is_working)
+ves_icall_System_Threading_Microsoft_ThreadPool_ReportThreadStatus (MonoBoolean is_working)
{
// TODO
mono_raise_exception (mono_get_exception_not_implemented (NULL));
}
-gboolean
+MonoBoolean
ves_icall_System_Threading_Microsoft_ThreadPool_RequestWorkerThread (void)
{
return worker_request (mono_domain_get ());
}
-gboolean G_GNUC_UNUSED
+MonoBoolean G_GNUC_UNUSED
ves_icall_System_Threading_Microsoft_ThreadPool_PostQueuedCompletionStatus (MonoNativeOverlapped *native_overlapped)
{
/* This copy the behavior of the current Mono implementation */
return FALSE;
}
-gboolean G_GNUC_UNUSED
+MonoBoolean G_GNUC_UNUSED
ves_icall_System_Threading_Microsoft_ThreadPool_BindIOCompletionCallbackNative (gpointer file_handle)
{
/* This copy the behavior of the current Mono implementation */
return TRUE;
}
-gboolean G_GNUC_UNUSED
+MonoBoolean G_GNUC_UNUSED
ves_icall_System_Threading_Microsoft_ThreadPool_IsThreadPoolHosted (void)
{
return FALSE;
ves_icall_System_Threading_Microsoft_ThreadPool_GetMinThreadsNative (gint *worker_threads, gint *completion_port_threads);
void
ves_icall_System_Threading_Microsoft_ThreadPool_GetMaxThreadsNative (gint *worker_threads, gint *completion_port_threads);
-gboolean
+MonoBoolean
ves_icall_System_Threading_Microsoft_ThreadPool_SetMinThreadsNative (gint worker_threads, gint completion_port_threads);
-gboolean
+MonoBoolean
ves_icall_System_Threading_Microsoft_ThreadPool_SetMaxThreadsNative (gint worker_threads, gint completion_port_threads);
void
ves_icall_System_Threading_Microsoft_ThreadPool_InitializeVMTp (MonoBoolean *enable_worker_tracking);
-gboolean
+MonoBoolean
ves_icall_System_Threading_Microsoft_ThreadPool_NotifyWorkItemComplete (void);
void
ves_icall_System_Threading_Microsoft_ThreadPool_NotifyWorkItemProgressNative (void);
void
-ves_icall_System_Threading_Microsoft_ThreadPool_ReportThreadStatus (gboolean is_working);
-gboolean
+ves_icall_System_Threading_Microsoft_ThreadPool_ReportThreadStatus (MonoBoolean is_working);
+MonoBoolean
ves_icall_System_Threading_Microsoft_ThreadPool_RequestWorkerThread (void);
-gboolean
+MonoBoolean
ves_icall_System_Threading_Microsoft_ThreadPool_PostQueuedCompletionStatus (MonoNativeOverlapped *native_overlapped);
-gboolean
+MonoBoolean
ves_icall_System_Threading_Microsoft_ThreadPool_BindIOCompletionCallbackNative (gpointer file_handle);
-gboolean
+MonoBoolean
ves_icall_System_Threading_Microsoft_ThreadPool_IsThreadPoolHosted (void);
/* Internals */