mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 17:46:50 +08:00

Refactor thread, list, queue and time module. Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com> Signed-off-by: Hongjin Li <vic.hong@rock-chips.com> Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I96c07e1549868085867502c8bb974ffd3875ea9d
18 lines
294 B
C
18 lines
294 B
C
/* SPDX-License-Identifier: Apache-2.0 OR MIT */
|
|
/*
|
|
* Copyright (c) 2017 Rockchip Electronics Co., Ltd.
|
|
*/
|
|
|
|
#ifndef __MPP_QUEUE_H__
|
|
#define __MPP_QUEUE_H__
|
|
|
|
#include "mpp_list.h"
|
|
|
|
typedef struct MppQueue_t {
|
|
MppList* list;
|
|
sem_t queue_pending;
|
|
int flush_flag;
|
|
} MppQueue;
|
|
|
|
#endif
|