[Vala] [Bindings] for ThreadPool broken
- From: Mihail Naydenov <mlists ymail com>
- To: j bitron ch
- Cc: vala <vala-list gnome org>
- Subject: [Vala] [Bindings] for ThreadPool broken
- Date: Fri, 3 Oct 2008 06:13:43 -0700 (PDT)
When used TreadPool, the c compiler reports:
***error: too few arguments to function `g_thread_pool_free'***
ThreadPool is defined in glib-2.0.vapi as:
[Compact]
[CCode (free_function = "g_thread_pool_free")]
public class ThreadPool {
...
}
but g_thread_pool_free accepts 2 more args (except the thread pool, which is passed in) - immediate and wait_
Is it possible way to set (some defaults for) those?
If not, then one must manually manage the pool, but of course, there no bindings for g_thread_pool_free in the vapi.
MihailNaydenov
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]