File: threads-deprecated.md

package info (click to toggle)
glib2.0 2.84.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, 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 (37 lines) | stat: -rw-r--r-- 1,025 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Title: Deprecated Thread API
SPDX-License-Identifier: LGPL-2.1-or-later
SPDX-FileCopyrightText: 2011 Allison Lortie

# Deprecated Thread API

These APIs are deprecated.  You should not use them in new code.
This section remains only to assist with understanding code that was
written to use these APIs at some point in the past.

Deprecated thread creation/configuration functions:

 * [type@GLib.ThreadPriority]
 * [type@GLib.ThreadFunctions]
 * [func@GLib.Thread.init]
 * [func@GLib.Thread.get_initialized]
 * [method@GLib.Thread.set_priority]
 * [func@GLib.Thread.foreach]
 * [func@GLib.Thread.create]
 * [func@GLib.Thread.create_full]

Deprecated static variants of locking primitives:

 * [type@GLib.StaticMutex]
 * [type@GLib.StaticRecMutex]
 * [type@GLib.StaticRWLock]
 * [type@GLib.StaticPrivate]

Deprecated dynamic allocation of locking primitives:

 * [func@GLib.Private.new]
 * [func@GLib.Mutex.new]
 * [method@GLib.Mutex.free]
 * [func@GLib.Cond.new]
 * [method@GLib.Cond.free]
 * [method@GLib.Cond.timed_wait]