aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Implementation
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-10-29 23:28:28 +0100
committerSven Gothel <[email protected]>2013-10-29 23:28:28 +0100
commit0943389a6d34622c112ed73ce3d2d2e25434ce59 (patch)
tree6df1f211d6c862af14690cbfd0b1f42426618460 /doc/Implementation
parent9f2a9df0a4b7093925c8854b37fba053469a4b35 (diff)
Bug 877 Concurrency Discussion: Update doc MultiThreading.txt, volatile field usage; GLDrawableImpl: Make read-only fields final.
Diffstat (limited to 'doc/Implementation')
-rw-r--r--doc/Implementation/MultiThreading.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/Implementation/MultiThreading.txt b/doc/Implementation/MultiThreading.txt
index fb586e1ec..272204d94 100644
--- a/doc/Implementation/MultiThreading.txt
+++ b/doc/Implementation/MultiThreading.txt
@@ -1,4 +1,9 @@
+Don't miss
+ Current 'violations' of synchronization/memory-barriers
+ using explicit locking:
+below ..
+
Locking
=========
@@ -92,3 +97,29 @@ Summary:
- swapBuffersImpl
- [Surface i/o] - if not locked already
++++
+
+Complying with synchronization/memory-barriers
+using explicit locking:
+
+- NativeSurface's handle access
+
+Current 'violations' of synchronization/memory-barriers
+using explicit locking:
+
+- Using 'volatile' to avoid locking for read-only access
+ with rare write access
+
+ - GLAutoDrawable's drawable reference
+
+ - GLAutoDrawable's context reference
+ Since 7f7a23dd0ddf106e6f0c69fc2a05ff92ac56200e
+
+ - GLContext's contextHandle
+ Since 7f7a23dd0ddf106e6f0c69fc2a05ff92ac56200e
+
+ - GLDrawableImpl's realized
+ Used for Pre-locking queries, whether drawable is realized
+
+- Misc 'volatile' usage:
+