File: io-scheduler.md

package info (click to toggle)
glib2.0 2.84.1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 66,144 kB
  • sloc: ansic: 538,877; python: 9,624; sh: 1,572; xml: 1,482; perl: 1,222; cpp: 535; makefile: 316; javascript: 11
file content (20 lines) | stat: -rw-r--r-- 652 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Title: GIOScheduler
SPDX-License-Identifier: LGPL-2.1-or-later
SPDX-FileCopyrightText: 2007 Andrew Walton

# GIOScheduler

Schedules asynchronous I/O operations. `GIOScheduler` integrates
into the main event loop ([struct@GLib.MainLoop]) and uses threads.

Deprecated: 2.36: As of GLib 2.36, `GIOScheduler` is deprecated in favor of
[struct@GLib.ThreadPool] and [class@Gio.Task].

The `GIOScheduler` API is:
 * [type@Gio.IOSchedulerJobFunc]
 * [func@Gio.io_scheduler_push_job]
 * [func@Gio.io_scheduler_cancel_all_jobs]
 * [type@Gio.IOSchedulerJob]
 * [method@Gio.IOSchedulerJob.send_to_mainloop]
 * [method@Gio.IOSchedulerJob.send_to_mainloop_async]