mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-02 03:13:50 +00:00
Add type manager synchronization comment.
This Cl adds a comment about the type manager being a singleton and synchronization requirements. Change-Id: I91618516b26c18aa6b47e7e564b4b3a8eecc1009 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/17740 Reviewed-by: David Neto <dneto@google.com>
This commit is contained in:
parent
5e6d033a9e
commit
235ceebe37
@ -24,6 +24,9 @@
|
|||||||
namespace tint {
|
namespace tint {
|
||||||
|
|
||||||
/// The type manager holds all the pointers to the known types.
|
/// The type manager holds all the pointers to the known types.
|
||||||
|
///
|
||||||
|
/// Note, the type manager is a singleton. Any synchronization for the manager
|
||||||
|
/// must be done by the caller.
|
||||||
class TypeManager {
|
class TypeManager {
|
||||||
public:
|
public:
|
||||||
/// @returns a pointer to the type manager
|
/// @returns a pointer to the type manager
|
||||||
|
Loading…
x
Reference in New Issue
Block a user