Пример #1
0
		public static void PushJob(GLib.IOSchedulerJobFunc job_func, GLib.DestroyNotify notify, int io_priority, GLib.Cancellable cancellable) {
			GLibSharp.IOSchedulerJobFuncWrapper job_func_wrapper = new GLibSharp.IOSchedulerJobFuncWrapper (job_func);
			g_io_scheduler_push_job(job_func_wrapper.NativeDelegate, IntPtr.Zero, notify, io_priority, cancellable == null ? IntPtr.Zero : cancellable.Handle);
		}
Пример #2
0
        public static void SchedulerPushJob(IOSchedulerJobFunc job_func, GLib.DestroyNotify notify, int io_priority, Cancellable cancellable)
        {
            var job_func_wrapper = new GLibSharp.IOSchedulerJobFuncWrapper(job_func);

            g_io_scheduler_push_job(job_func_wrapper.NativeDelegate, IntPtr.Zero, notify, io_priority, cancellable == null ? IntPtr.Zero : cancellable.Handle);
        }