public void RunInThread(GLib.SimpleAsyncThreadFunc func, int io_priority, GLib.Cancellable cancellable) { GLibSharp.SimpleAsyncThreadFuncWrapper func_wrapper = new GLibSharp.SimpleAsyncThreadFuncWrapper (func); g_simple_async_result_run_in_thread(Handle, func_wrapper.NativeDelegate, io_priority, cancellable == null ? IntPtr.Zero : cancellable.Handle); }
public void RunInThread(GLib.SimpleAsyncThreadFunc func, int io_priority, GLib.Cancellable cancellable) { GLibSharp.SimpleAsyncThreadFuncWrapper func_wrapper = new GLibSharp.SimpleAsyncThreadFuncWrapper(func); g_simple_async_result_run_in_thread(Handle, func_wrapper.NativeDelegate, io_priority, cancellable == null ? IntPtr.Zero : cancellable.Handle); }