Data Structures | Defines

I_PriorityEventQueue.h File Reference

Queue of Events sorted by the "at_timeout" field. More...

#include "libts.h"
#include "I_Event.h"
Include dependency graph for I_PriorityEventQueue.h:
This graph shows which files directly or indirectly include this file:

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))

Detailed Description

Queue of Events sorted by the "at_timeout" field.

License

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 Documentation

#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))