projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2006-11-03 Dick Porter <dick@ximian.com>
[mono.git]
/
mono
/
metadata
/
threadpool.h
diff --git
a/mono/metadata/threadpool.h
b/mono/metadata/threadpool.h
index 1b79ee02942a83309ffa96b92fe5c6d5c1de5b06..efb28d34cbba4b6e0b1f75e41713dbfc619345b0 100644
(file)
--- a/
mono/metadata/threadpool.h
+++ b/
mono/metadata/threadpool.h
@@
-1,38
+1,36
@@
#ifndef _MONO_THREADPOOL_H_
#define _MONO_THREADPOOL_H_
#ifndef _MONO_THREADPOOL_H_
#define _MONO_THREADPOOL_H_
-#include <mono/metadata/object.h>
+#include <mono/metadata/object
-internals
.h>
#include <mono/metadata/reflection.h>
#include <mono/metadata/reflection.h>
-extern int mono_max_worker_threads;
+/* No managed code here */
+void mono_thread_pool_init (void) MONO_INTERNAL;
MonoAsyncResult *
mono_thread_pool_add (MonoObject *target, MonoMethodMessage *msg,
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 *
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,
void
ves_icall_System_Threading_ThreadPool_GetAvailableThreads (int *workerThreads,
- int *completionPortThreads);
+ int *completionPortThreads)
MONO_INTERNAL
;
void
ves_icall_System_Threading_ThreadPool_GetMaxThreads (int *workerThreads,
void
ves_icall_System_Threading_ThreadPool_GetMaxThreads (int *workerThreads,
- int *completionPortThreads);
+ int *completionPortThreads)
MONO_INTERNAL
;
void
ves_icall_System_Threading_ThreadPool_GetMinThreads (gint *workerThreads,
void
ves_icall_System_Threading_ThreadPool_GetMinThreads (gint *workerThreads,
- gint *completionPortThreads);
+ gint *completionPortThreads)
MONO_INTERNAL
;
MonoBoolean
ves_icall_System_Threading_ThreadPool_SetMinThreads (gint workerThreads,
MonoBoolean
ves_icall_System_Threading_ThreadPool_SetMinThreads (gint workerThreads,
- gint completionPortThreads);
-
-MonoBoolean
-ves_icall_System_Threading_ThreadPool_BindHandle (gpointer handle);
+ gint completionPortThreads) MONO_INTERNAL;
#endif
#endif