Closed Bug 1618186 Opened 4 years ago Closed 4 years ago

Remove AnyStaticMutex

Categories

(Core :: XPCOM, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: sg, Assigned: sg)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

AnyStaticMutex is used to unify handling of StaticMutex and StaticMutexNotRecorded for StaticMutexAutoLock and StaticMutexAutoUnlock at runtime. There are only few uses of StaticMutexNotRecorded though, so this runtime overhead doesn't appear warranted.

AnyStaticMutex should be removed and StaticMutexAutoLock and StaticMutexAutoUnlock should refer to StaticMutex only. Additional typedefs/type aliases can be added for use with StaticMutexNotRecorded.

Blocks: 1610333
Depends on: 1609815
Attachment #9129137 - Attachment description: Bug 1618186 - Remove AnyStaticMutex and provide separate auto(un)lock typedefs for use with StaticMutexNotRecorded. r=froydnj → Bug 1618186 - Remove AnyStaticMutex. r=froydnj
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: