/lvgl-latest/src/osal/ |
D | lv_sdl2.c | 41 lv_result_t lv_thread_init(lv_thread_t * thread, const char * const name, lv_thread_prio_t prio, in lv_thread_init() argument 45 thread->callback = callback; in lv_thread_init() 46 thread->user_data = user_data; in lv_thread_init() 47 thread->thread = SDL_CreateThreadWithStackSize(generic_callback, name, stack_size, thread); in lv_thread_init() 48 if(thread->thread == NULL) { in lv_thread_init() 55 lv_result_t lv_thread_delete(lv_thread_t * thread) in lv_thread_delete() argument 58 SDL_WaitThread(thread->thread, &ret); in lv_thread_delete() 178 lv_thread_t * thread = user_data; in generic_callback() local 179 thread->callback(thread->user_data); in generic_callback()
|
D | lv_pthread.c | 41 lv_result_t lv_thread_init(lv_thread_t * thread, const char * const name, lv_thread_prio_t prio, in lv_thread_init() argument 50 thread->callback = callback; in lv_thread_init() 51 thread->user_data = user_data; in lv_thread_init() 52 pthread_create(&thread->thread, &attr, generic_callback, thread); in lv_thread_init() 57 lv_result_t lv_thread_delete(lv_thread_t * thread) in lv_thread_delete() argument 59 int ret = pthread_join(thread->thread, NULL); in lv_thread_delete() 176 lv_thread_t * thread = user_data; in generic_callback() local 177 thread->callback(thread->user_data); in generic_callback()
|
D | lv_rtthread.c | 41 lv_result_t lv_thread_init(lv_thread_t * thread, const char * const name, lv_thread_prio_t prio, in lv_thread_init() argument 45 thread->thread = rt_thread_create(name, in lv_thread_init() 51 rt_err_t ret = rt_thread_startup(thread->thread); in lv_thread_init() 61 lv_result_t lv_thread_delete(lv_thread_t * thread) in lv_thread_delete() argument 63 rt_err_t ret = rt_thread_delete(thread->thread); in lv_thread_delete()
|
D | lv_windows.c | 48 lv_thread_t * thread, in lv_thread_init() argument 56 if(!thread) { in lv_thread_init() 87 *thread = (HANDLE)(_beginthreadex( in lv_thread_init() 94 if(!*thread) { in lv_thread_init() 101 SetThreadPriority(*thread, prio_map[prio]); in lv_thread_init() 106 lv_result_t lv_thread_delete(lv_thread_t * thread) in lv_thread_delete() argument 110 if(!TerminateThread(thread, 0)) { in lv_thread_delete() 114 CloseHandle(thread); in lv_thread_delete()
|
D | lv_cmsis_rtos2.c | 45 lv_result_t lv_thread_init(lv_thread_t * thread, const char * const name, lv_thread_prio_t prio, in lv_thread_init() argument 63 *thread = osThreadNew(callback, user_data, &c_tThreadAttribute); in lv_thread_init() 65 if(NULL == *thread) { in lv_thread_init() 74 lv_result_t lv_thread_delete(lv_thread_t * thread) in lv_thread_delete() argument 76 osThreadDetach(*thread); in lv_thread_delete() 77 osStatus_t status = osThreadTerminate(*thread); in lv_thread_delete()
|
D | lv_os.h | 80 lv_result_t lv_thread_init(lv_thread_t * thread, const char * const name, 89 lv_result_t lv_thread_delete(lv_thread_t * thread); 192 static inline lv_result_t lv_thread_init(lv_thread_t * thread, const char * const name, lv_thread_p… in lv_thread_init() argument 195 LV_UNUSED(thread); in lv_thread_init() 204 static inline lv_result_t lv_thread_delete(lv_thread_t * thread) in lv_thread_delete() argument 206 LV_UNUSED(thread); in lv_thread_delete()
|
D | lv_mqx.c | 40 lv_result_t lv_thread_init(lv_thread_t * thread, const char * const name, lv_thread_prio_t prio, in lv_thread_init() argument 54 *thread = _task_create(0, 0, (uint32_t)&task_template); in lv_thread_init() 55 if(*thread == MQX_NULL_TASK_ID) { in lv_thread_init() 62 lv_result_t lv_thread_delete(lv_thread_t * thread) in lv_thread_delete() argument 64 _mqx_uint ret = _task_destroy(*thread); in lv_thread_delete()
|
D | lv_rtthread.h | 29 rt_thread_t thread; member
|
D | lv_sdl2.h | 28 SDL_Thread * thread; member
|
D | lv_pthread.h | 30 pthread_t thread; member
|
/lvgl-latest/docs/details/integration/os/ |
D | rt-thread.rst | 8 `RT-Thread <https://www.rt-thread.io/>`__ is an `open 9 source <https://github.com/RT-Thread/rt-thread>`__, neutral, and 28 …onents and a prosperous and fast growing `package ecosystem <https://packages.rt-thread.org/en/>`__ 35 - Supports a wide range of `architectures and chips <https://www.rt-thread.io/board.html>`__ 40 `中文文档 <https://www.rt-thread.org/document/site/#/rt-thread-version/rt-thread-standard/packages-manu… 43 `softwarepackage <https://packages.rt-thread.org/en/detail.html?package=LVGL>`__ 45 `Env tool <https://www.rt-thread.io/download.html?download=Env>`__ or 46 `RT-Thread Studio IDE <https://www.rt-thread.io/download.html?download=Studio>`__, 55 …thread/tree/master/bsp/qemu-vexpress-a9/applications/lvgl>`__ | `Infineon ps… 57 …hread/rt-thread/tree/master/bsp/simulator/applications/lvgl>`__ | `Renesas ra6… [all …]
|
D | index.rst | 12 rt-thread
|
/lvgl-latest/src/libs/thorvg/ |
D | tvgTaskScheduler.cpp | 109 Array<thread*> threads; 120 threads.push(new thread); in TaskSchedulerImpl() 123 *threads.data[i] = thread([&, i] { run(i); }); in TaskSchedulerImpl() 132 for (auto thread = threads.begin(); thread < threads.end(); ++thread) { in ~TaskSchedulerImpl() local 133 (*thread)->join(); in ~TaskSchedulerImpl() 134 delete(*thread); in ~TaskSchedulerImpl()
|
/lvgl-latest/docs/intro/add-lvgl-to-your-project/ |
D | threading.rst | 15 In the context of this document, a thread is any sequence of CPU instructions. 18 - the main thread executing a while(1) loop that runs the system, and 30 If operation X is atomic, that means that any thread observing the operation will 46 A datum (i.e. contents of a variable or data structure) is atomic if any thread 64 LVGL is **not thread-safe**. 67 called while another LVGL call is in progress in another thread. This includes calls 76 because the thread that drives both of these is the thread that calls 94 These two LVGL functions may be called from any thread: 103 LVGL functions, set a flag or other atomic value that your LVGL-calling thread 132 .. _gateway thread: [all …]
|
/lvgl-latest/env_support/cmsis-pack/ |
D | lv_os_custom_c.txt | 39 lv_result_t lv_thread_init(lv_thread_t * thread, const char * const name, lv_thread_prio_t prio, vo… 42 LV_UNUSED(thread); 52 lv_result_t lv_thread_delete(lv_thread_t * thread) 54 LV_UNUSED(thread);
|
/lvgl-latest/src/drivers/windows/ |
D | lv_windows_display.c | 67 HANDLE thread = (HANDLE)_beginthreadex( in lv_windows_create_display() local 74 LV_ASSERT(thread); in lv_windows_create_display() 78 if(thread) { in lv_windows_create_display() 79 CloseHandle(thread); in lv_windows_create_display()
|
/lvgl-latest/ |
D | SConscript | 9 objs = objs + SConscript(cwd + '/env_support/rt-thread/SConscript')
|
/lvgl-latest/src/draw/sw/ |
D | lv_draw_sw_private.h | 39 lv_thread_t thread; member
|
/lvgl-latest/docs/details/integration/chip/ |
D | nxp.rst | 72 and an addition thread `_pxp_render_thread_cb()` will be spawned in order to 78 …lv_thread_init(&draw_pxp_unit->thread, "pxpdraw", LV_THREAD_PRIO_HIGH, _pxp_render_thread_cb, 2 * … 81 If `LV_USE_PXP_DRAW_THREAD` is not defined, then no additional draw thread will be created 82 and the PXP drawing task will get executed on the same LVGL main thread. 102 block the LVGL drawing thread and switch to another task or suspend the CPU for 194 drawing thread. 203 RTOS is required to block the LVGL drawing thread and switch to another 271 and an addition thread `_vglite_render_thread_cb()` will be spawned in order to 277 …lv_thread_init(&draw_vglite_unit->thread, "vglitedraw", LV_THREAD_PRIO_HIGH, _vglite_render_thread… 280 If `LV_USE_VGLITE_DRAW_THREAD` is not defined, then no additional draw thread will be created [all …]
|
/lvgl-latest/env_support/rt-thread/squareline/ |
D | README.md | 3 SquareLine Studio can automatically put the generated C files into `ui` folder, so that rt-thread w…
|
/lvgl-latest/docs/details/main-components/ |
D | timer.rst | 127 does not actually measure the time the OS spends in an idle thread. 130 thread, one way of doing so is configuring :c:macro:`LV_USE_SYSMON` and 133 fetches the percent of CPU time spent in the OS's idle thread. An example of such 170 - you detect the need to delete a Widget in a thread other than the thread making 177 ensures it is called in a thread in which it is safe to make LVGL calls. 185 Note that if :cpp:expr:`lv_async_call(my_function, data_p)` is called from a thread
|
/lvgl-latest/src/draw/nxp/pxp/ |
D | lv_draw_pxp.h | 44 lv_thread_t thread; member
|
/lvgl-latest/src/draw/nxp/vglite/ |
D | lv_draw_vglite.h | 49 lv_thread_t thread; member
|
/lvgl-latest/src/draw/nema_gfx/ |
D | lv_draw_nema_gfx.h | 68 lv_thread_t thread; member
|
/lvgl-latest/src/draw/renesas/dave2d/ |
D | lv_draw_dave2d.h | 47 lv_thread_t thread; member
|