From 0943389a6d34622c112ed73ce3d2d2e25434ce59 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 29 Oct 2013 23:28:28 +0100 Subject: Bug 877 Concurrency Discussion: Update doc MultiThreading.txt, volatile field usage; GLDrawableImpl: Make read-only fields final. --- doc/Implementation/MultiThreading.txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'doc') 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: + -- cgit v1.2.3