-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconcurrency-with-modern-cxx.sql
67 lines (37 loc) · 1.33 KB
/
concurrency-with-modern-cxx.sql
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
create temp table temp_blocks(row_number serial, t_content text, t_type flashback.block_type, t_language varchar(10));
create procedure add_block(type flashback.block_type, language varchar(10), content text) language plpgsql as $$ begin insert into temp_blocks (t_type, t_language, t_content) values (type, language, content); end; $$;
call add_block('text', 'txt', '');
call add_block('code', 'cpp', '');
call create_note_with_name('Concurrency with Modern C++', 2, '');
-- atomic shared_ptr
-- atomic floating points
-- atomic pointers
-- atomic integral types
-- atomic type aliases
-- all atomic operations
-- free atomic functions
-- deprecated std::shared_ptr
-- atomic operations on std::shared_ptr
-- atomic_ref
-- synchronization and ordering constraints
-- variations of memory ordering
-- atomic operation types
-- ordering constraints
-- sequencial consistency
-- acquire release semantics
-- memory order consume
-- release acquire ordering
-- release consume ordering
-- data dependencies
-- relaxed semantics
-- fences
-- three fences
-- full fences
-- acquire release fences
-- synchronization with fences
-- atomic signal fence
call add_block('text', 'txt', '');
call add_block('code', 'cpp', '');
call create_note_with_name('Concurrency with Modern C++', 2, '');
drop procedure add_block;
drop table temp_blocks;