File: threading.yo

package info (click to toggle)
c%2B%2B-annotations 10.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 10,536 kB
  • ctags: 3,247
  • sloc: cpp: 19,157; makefile: 1,521; ansic: 165; sh: 128; perl: 90
file content (102 lines) | stat: -rw-r--r-- 2,816 bytes parent folder | download
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
includefile(threading/intro)

lsect(TIMESPEC)(Handling time (absolute and relative))
includefile(threading/time)

    subsect(Units: the class std::ratio)
    includefile(threading/ratio)

    lsubsect(DURATION)(Amounts of time: std::chrono::duration)
    includefile(threading/duration)

    subsect(Clocks measuring time)
    includefile(threading/clock)

    lsubsect(TIMEPOINT)(Points in time: std::chrono::time_point)
    includefile(threading/timepoint)

    lsubsect(TIME)(Converting time to text)
    includefile(threading/ntbs)

        subsubsect(std::put_time format specifiers)
        includefile(threading/puttimefmt.yo)

lsect(THREADS)(Multi Threading)
includefile(threading/threading)

    subsect(The namespace std::this_thread)
    includefile(threading/thisthread)

    lsubsect(THREAD)(The class std::thread)
    includefile(threading/thread)

        subsubsect(Static data and threads: std::thread_local)
        includefile(threading/threadlocal)

        subsubsect(Exceptions and join())
        includefile(threading/joining)

lsect(MUTEX)(Synchronization (mutexes))
includefile(threading/mutex)

    subsect(Initialization in multi-threaded programs)
    includefile(threading/initialization)

    subsect(Shared mutexes)
    includefile(threading/sharedmutex)

lsect(LOCKS)(Locks and lock handling)
includefile(threading/locks)

    subsect(Deadlocks)
    includefile(threading/deadlocks)

    subsect(Shared locks)
    includefile(threading/sharedlock)

sect(Event handling (condition variables))
includefile(threading/events)

    lsubsect(CONDVAR1)(The class std::condition_variable)
    includefile(threading/conditionvar)

    lsubsect(CONDVAR2)(The class std::condition_variable_any)
    includefile(threading/conditionany)

    lsubsect(CONDEX)(An example using condition variables)
    includefile(threading/conditionex)

sect(Atomic actions: mutexes not required)
includefile(threading/atomic)

sect(An example: threaded quicksort)
includefile(threading/quicksort)

sect(Shared States)
includefile(threading/shared)

lsect(FUTURE)(Asynchronous return objects: std::future)
includefile(threading/future)

    subsect(The std::future_error exception and the std::future_errc enum)
    includefile(threading/futureerrc)

lsect(SHAREDFUTURE)
    (Shared asynchronous return objects: std::shared_future)
includefile(threading/sharedfuture)

lsect(ASYNC)(Starting a new thread: std::async)
includefile(threading/async)

lsect(PACKAGE)(Preparing a task for execution: std::packaged_task)
includefile(threading/packagedtask)

lsect(PROMISE)(The class `std::promise')
includefile(threading/promise)

    lsubsect(EXCPTR)(Exception propagation: std::exception_ptr)
    includefile(threading/exceptionptr)

sect(An example: multi-threaded compilations)
includefile(threading/compilations)