| Parameter | Description |
|---|---|
| handle | Safety handle. |
| sharedStaticId | The static safety ID to associate with the provided handle. This ID must have been allocated with NewStaticSafetyId. |
Assigns the provided static safety ID to an AtomicSafetyHandle. The ID's owner type name and any custom error messages are used by the job debugger when reporting errors involving the target handle.
This is preferable to AtomicSafetyHandle.NewStaticSafetyId as it is compatible with burst.
| Parameter | Description |
|---|---|
| handle | Safety handle. |
| sharedStaticId | The static safety ID to associate with the provided handle. This ID must have been allocated with NewStaticSafetyId. |
| name | The name of the resource type. |
Assigns the provided static safety ID to an AtomicSafetyHandle. The ID's owner type name and any custom error messages are used by the job debugger when reporting errors involving the target handle.
This is preferable to AtomicSafetyHandle.NewStaticSafetyId as it is compatible with burst.