DescriptionAdds macros to annotate variables and functions used from same thread or queue.
ACCESS_ON is an alias of GUARDED_BY but should take thread-like object instead of mutex,
RUN_ON is an alias of EXCLUSIVE_LOCKS_REQUIRED to annotate function always run on same
thread/task_queue
RTC_DCHECK_RUN_ON - creates an object that allows use of annotated variables and functions, and adds a run-time DCHECK given thread/queue is current.
R=tommi@webrtc.org
Committed: https://crrev.com/8e572f030ff5c4c695da5d40d3b617d4f6741d4f
Cr-Commit-Position: refs/heads/master@{#12812}
Patch Set 1 #
Total comments: 1
Patch Set 2 : examples rewritten, few tests added #
Total comments: 8
Patch Set 3 : #Patch Set 4 : Fix example #
Messages
Total messages: 16 (7 generated)
|