|
T-Box Basic dev
|
可由单元测试替换的探测线程操作 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 |
| 操作实现上下文 | |
可由单元测试替换的探测线程操作