mirror of
http://deavmi.assigned.network/git/deavmi/tristanable
synced 2025-02-23 00:06:50 +00:00
Finalised
This commit is contained in:
parent
e0c563ce68
commit
b75b11e2b0
@ -73,8 +73,14 @@ public final class Manager
|
||||
/* Create a new Request */
|
||||
Request newRequest = new Request(tag);
|
||||
|
||||
/* Lock the queue for reading */
|
||||
lockQueue();
|
||||
|
||||
/* Add the request to the request queue */
|
||||
enqueue(newRequest);
|
||||
requestQueue ~= newRequest;
|
||||
|
||||
/* Unlock the queue */
|
||||
unlockQueue();
|
||||
}
|
||||
|
||||
public bool isValidTag(ulong tag)
|
||||
@ -128,8 +134,7 @@ public final class Manager
|
||||
|
||||
public Request[] getQueue()
|
||||
{
|
||||
/* TODO: Implement me */
|
||||
return [];
|
||||
return requestQueue;
|
||||
}
|
||||
|
||||
public void enqueue(Request request)
|
||||
|
Loading…
Reference in New Issue
Block a user