l4 handle
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
// -----------------------------------------------------------------------
|
||||
// file="L4.CommandQueue"
|
||||
// Project: StgSharp
|
||||
// AuthorGroup: Nitload Space
|
||||
// Copyright (c) Nitload Space. All rights reserved.
|
||||
// AuthorGroup: Nitload
|
||||
// Copyright (c) Nitload. All rights reserved.
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
@@ -37,7 +37,7 @@ namespace StgSharp.HighPerformance.Memory
|
||||
public unsafe partial class L4
|
||||
{
|
||||
|
||||
private CommandQueue _commandQueue;
|
||||
private readonly CommandQueue _commandQueue;
|
||||
|
||||
private struct CommandQueue
|
||||
{
|
||||
@@ -56,7 +56,9 @@ namespace StgSharp.HighPerformance.Memory
|
||||
/// <returns>
|
||||
/// True if there is a command to execute, otherwise false
|
||||
/// </returns>
|
||||
public bool TryDequeue(out nint command)
|
||||
public bool TryDequeue(
|
||||
out nint command
|
||||
)
|
||||
{
|
||||
if (_curRead >= 64)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user