summaryrefslogtreecommitdiff
path: root/bigo_prioq.h
blob: 0a4929096aa9eb8d86478be289bf09d89a59cf5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright 2021 Google LLC.
 *
 * Author: Ruofei Ma <ruofeim@google.com>
 */

#ifndef _BIGO_PRIOQ_H_
#define _BIGO_PRIOQ_H_

#include "bigo_priv.h"

bool dequeue_prioq(struct bigo_core *core, struct bigo_job **job,
                        bool *should_stop);
int enqueue_prioq(struct bigo_core *core, struct bigo_inst *inst);

#endif //_BIGO_PRIOQ_H_