[Mono.Runtime.Tests] Exclude simd tests
[mono-project.git] / mono / metadata / threadpool-worker.h
blob9b2c51d7f65eaffadea062299bd6d96e26cefe8c
1 /**
2 * \file
3 */
5 #ifndef _MONO_METADATA_THREADPOOL_WORKER_H
6 #define _MONO_METADATA_THREADPOOL_WORKER_H
8 #include <glib.h>
10 typedef void (*MonoThreadPoolWorkerCallback)(void);
12 void
13 mono_threadpool_worker_init (MonoThreadPoolWorkerCallback callback);
15 void
16 mono_threadpool_worker_cleanup (void);
18 void
19 mono_threadpool_worker_request (void);
21 gboolean
22 mono_threadpool_worker_notify_completed (void);
24 gint32
25 mono_threadpool_worker_get_min (void);
26 gboolean
27 mono_threadpool_worker_set_min (gint32 value);
29 gint32
30 mono_threadpool_worker_get_max (void);
31 gboolean
32 mono_threadpool_worker_set_max (gint32 value);
34 void
35 mono_threadpool_worker_set_suspended (gboolean suspended);
37 #endif /* _MONO_METADATA_THREADPOOL_WORKER_H */