Queue of Events sorted by the "at_timeout" field. More...
#include "libts.h"
#include "I_Event.h"
Go to the source code of this file.
Data Structures | |
struct | PriorityEventQueue |
Defines | |
#define | N_PQ_LIST 10 |
#define | PQ_BUCKET_TIME(_i) (HRTIME_MSECONDS(5) << (_i)) |
Queue of Events sorted by the "at_timeout" field.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file I_PriorityEventQueue.h.
#define N_PQ_LIST 10 |
Definition at line 32 of file I_PriorityEventQueue.h.
Referenced by PriorityEventQueue::check_ready().
#define PQ_BUCKET_TIME | ( | _i | ) | (HRTIME_MSECONDS(5) << (_i)) |
Definition at line 33 of file I_PriorityEventQueue.h.
Referenced by PriorityEventQueue::check_ready(), PriorityEventQueue::earliest_timeout(), PriorityEventQueue::enqueue(), and PriorityEventQueue::PriorityEventQueue().