Re: [Vala] [Bindings] for ThreadPool broken



I believe I filed a bug on this a while ago.

http://bugzilla.gnome.org/show_bug.cgi?id=542725

-- Christian

2008/10/3 Mihail Naydenov <mlists ymail com>
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







_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]