update known-issues
[mono.git] / mono / metadata / threadpool.h
index c92f070bbb1140521db68a4be864097b4fcb6f6f..b24e17150456caaee4f9b1300582aa29852856d5 100644 (file)
@@ -4,38 +4,37 @@
 #include <mono/metadata/object-internals.h>
 #include <mono/metadata/reflection.h>
 
-extern int mono_max_worker_threads;
-
 /* 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;
 
 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_BindHandle (gpointer handle);
+ves_icall_System_Threading_ThreadPool_SetMaxThreads (gint workerThreads, 
+                                                               gint completionPortThreads) MONO_INTERNAL;
 
 #endif