X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fthreadpool.h;h=129addd3adaa740693f322d88f00e44f03461cbb;hb=81d05c0ea48bc2194d4eb60cd197c20131c443d5;hp=4c5983f77c9b62cf18ef91e7f79f103b8af8c58d;hpb=ff228e1c801bda9666b6edab3ee962e05edcf480;p=mono.git diff --git a/mono/metadata/threadpool.h b/mono/metadata/threadpool.h index 4c5983f77c9..129addd3ada 100644 --- a/mono/metadata/threadpool.h +++ b/mono/metadata/threadpool.h @@ -5,32 +5,38 @@ #include /* No managed code here */ -void mono_thread_pool_init (void); +void mono_thread_pool_init (void) MONO_INTERNAL; MonoAsyncResult * mono_thread_pool_add (MonoObject *target, MonoMethodMessage *msg, - MonoDelegate *async_callback, MonoObject *state); + MonoDelegate *async_callback, MonoObject *state) MONO_INTERNAL; MonoObject * mono_thread_pool_finish (MonoAsyncResult *ares, MonoArray **out_args, - MonoObject **exc); + MonoObject **exc) MONO_INTERNAL; -void mono_thread_pool_cleanup (void); +void mono_thread_pool_cleanup (void) MONO_INTERNAL; + +gboolean mono_thread_pool_remove_domain_jobs (MonoDomain *domain, int timeout) MONO_INTERNAL; void ves_icall_System_Threading_ThreadPool_GetAvailableThreads (int *workerThreads, - int *completionPortThreads); + int *completionPortThreads) MONO_INTERNAL; void ves_icall_System_Threading_ThreadPool_GetMaxThreads (int *workerThreads, - int *completionPortThreads); + int *completionPortThreads) MONO_INTERNAL; void ves_icall_System_Threading_ThreadPool_GetMinThreads (gint *workerThreads, - gint *completionPortThreads); + gint *completionPortThreads) MONO_INTERNAL; MonoBoolean ves_icall_System_Threading_ThreadPool_SetMinThreads (gint workerThreads, - gint completionPortThreads); + gint completionPortThreads) MONO_INTERNAL; + +MonoBoolean +ves_icall_System_Threading_ThreadPool_SetMaxThreads (gint workerThreads, + gint completionPortThreads) MONO_INTERNAL; #endif