tiny.simd.callWithSpin
Defined in thread.spin.
Source
Source: lib/simd/src/thread/spin.zig:194
zig
pub fn callWithSpin( spin_type: SpinType, context: anytype, comptime call: anytype,) void { switch (spin_type) { .monitor_x => if (comptime haveMonitorX()) call(context, SpinMonitorX{}) else call(context, SpinPause{}), .u_monitor => if (comptime haveUMonitor()) call(context, SpinUMonitor{}) else call(context, SpinPause{}), .pause => call(context, SpinPause{}), }}Source: lib/simd/src/root.zig:126
zig
pub const callWithSpin = thread.callWithSpin;Also reachable as
Audit
| Definitions | 1 |
|---|---|
| Public names | 3 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |