enum SyncScope [src]

Fields

singlethread
system

Members

Source

pub const SyncScope = enum(u1) { singlethread, system, pub fn format( self: SyncScope, comptime prefix: []const u8, _: std.fmt.FormatOptions, writer: anytype, ) @TypeOf(writer).Error!void { if (self != .system) try writer.print( \\{s}syncscope("{s}") , .{ prefix, @tagName(self) }); } }