libxr  1.0
Want to be the best embedded framework
Loading...
Searching...
No Matches
libxr_system.hpp
1#pragma once
2
3#include <pthread.h>
4#include <semaphore.h>
5
6#include <cstdint>
7
8namespace LibXR
9{
10typedef pthread_mutex_t libxr_mutex_handle;
11typedef sem_t* libxr_semaphore_handle;
12typedef pthread_t libxr_thread_handle;
13
32void PlatformInit(uint32_t timer_pri = 2, uint32_t timer_stack_depth = 65536);
33} // namespace LibXR
LibXR 命名空间
void PlatformInit(uint32_t timer_pri=2, uint32_t timer_stack_depth=65536)
平台初始化函数 Platform initialization function