T-Box Basic dev
Loading...
Searching...
No Matches
ril_probe_ops_t Struct Reference

可由单元测试替换的探测线程操作 More...

#include <ril_probe.h>

Data Fields

void(* execute )(const ril_probe_request_t *request, const atomic_bool *stop, bool *healthy, bool *available, void *context)
 执行一轮网络探测。
int(* thread_create )(pthread_t *thread, const pthread_attr_t *attr, void *(*entry)(void *), void *context)
 创建探测工作线程。
int(* thread_join )(pthread_t thread, void **result)
 等待探测工作线程退出。
int(* thread_cancel )(pthread_t thread)
 取消探测工作线程。
void * context
 操作实现上下文

Detailed Description

可由单元测试替换的探测线程操作


The documentation for this struct was generated from the following file: