code maintenance: old errors
This commit is contained in:
@@ -71,9 +71,9 @@
|
||||
#include "common/utils/system.h"
|
||||
|
||||
#include <time.h>
|
||||
|
||||
extern int oai_exit;
|
||||
|
||||
#include "openair1/SCHED/sched_common_extern.h"
|
||||
#include "targets/RT/USER/lte-softmodem.h"
|
||||
#include "common/ran_context.h"
|
||||
|
||||
void feptx0(RU_t *ru,
|
||||
int slot)
|
||||
@@ -616,9 +616,11 @@ void init_fep_thread(RU_t *ru,
|
||||
}
|
||||
|
||||
|
||||
extern void kill_fep_thread(RU_t *ru)
|
||||
void kill_fep_thread(RU_t *ru)
|
||||
{
|
||||
RU_proc_t *proc = &ru->proc;
|
||||
if (proc->pthread_fep == 0)
|
||||
return;
|
||||
pthread_mutex_lock( &proc->mutex_fep );
|
||||
proc->instance_cnt_fep = 0;
|
||||
pthread_cond_signal(&proc->cond_fep);
|
||||
@@ -630,9 +632,11 @@ extern void kill_fep_thread(RU_t *ru)
|
||||
}
|
||||
|
||||
|
||||
extern void kill_feptx_thread(RU_t *ru)
|
||||
void kill_feptx_thread(RU_t *ru)
|
||||
{
|
||||
RU_proc_t *proc = &ru->proc;
|
||||
if (proc->pthread_feptx == 0)
|
||||
return;
|
||||
pthread_mutex_lock( &proc->mutex_feptx );
|
||||
proc->instance_cnt_feptx = 0;
|
||||
pthread_cond_signal(&proc->cond_feptx);
|
||||
|
||||
@@ -29,4 +29,6 @@
|
||||
extern int16_t hundred_times_delta_TF[100];
|
||||
extern uint16_t hundred_times_log10_NPRB[100];
|
||||
|
||||
void kill_fep_thread(RU_t *ru);
|
||||
|
||||
#endif /*__SCHED_EXTERN_H__ */
|
||||
|
||||
Reference in New Issue
Block a user