summaryrefslogtreecommitdiff
path: root/components/libc
AgeCommit message (Collapse)Author
2024-06-26fix Compilation error in "driver.c", "completion_up.c", "syslog.c" and ↵Rui
"dlmodule.c". (#9093)
2024-06-23[components][ktime]support period ktime timeout and multiple ktimer_hrtimer ↵zms123456
(#8972) * support period time * enable multiple ktimer * mv set delay_cnt to hrtimer_start * add ktime debug info * change current_irq_begin to local var * fix bug: setting current timer and setting timeout in driver aren't atomicly * create->init * refactoring ktime
2024-06-20除了bsp之外的Kconfig使用rsource替代sourcelatercomer
2024-06-16[bsp/phytium]c++支持,gpio,qspi驱动修改 (#9059)zhangyan
* GPIO驱动与QSPI驱动适配 * C++支持 * update --------- Co-authored-by: 张衍 <[email protected]>
2024-05-11修复C++11 ↵atwww
thread_local对象析构函数与实际内存释放动作顺序相反问题
2024-05-01[kernel] add rt_thread_close()Shell
* [thread] Add rt_thread_close() This patch introduces a new function `rt_thread_close()` to enhances the usability and maintainability by providing a dedicated mechanism for closing threads. - A new function `rt_thread_close()` is added to the API, providing a standardized approach for closing threads. - The `rt_thread_close()` function removes a thread from the thread queue, updates its status to indicate closure, and performs the thread timer detaching which is a embedded timer in thread object. - Additionally, the `rt_thread_detach()` function is modified to utilize `rt_thread_close()` internally, streamlining the thread detachment process. Signed-off-by: Shell <[email protected]>
2024-04-30Add comments for all functions in components/libc/posix/ipc/mqueue.cTroy
2024-04-26Add comments for all functions in components/libc/posix/io/termios/termios.cTroy
2024-04-24Add some comments in components/libc/posix/ipc/semaphore.c (#8848)Troy
2024-04-22[components][drivers]improve ktimer sleep (#8838)zms123456
improve ktimer sleep
2024-04-15修复POSIX线程本地存储寻找posix线程句柄时的逻辑错误 (#8790)atwww
* Add GCC generalized atomic operation function * 修复POSIX线程本地存储寻找posix线程句柄时的逻辑错误
2024-04-09[libc] add some posix function commentsTroy
2024-04-06[iar] fix legacy macros will be added if cannot get the IAR versionMeco Man
2024-04-01[libc][posix/io] add commentsTroy
2024-03-30[fixup] aarch64 UMP compiler error (#8677)Shell
Signed-off-by: Shell <[email protected]>
2024-03-28Add comments for all functions in components/libc/posix/io/eventfd/eventfd.cTroy
2024-03-28sync smart & dfs (#8672)Shell
Signed-off-by: xqyjlj <[email protected]> Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-03-27Fix the issue of incorrect return of invalid parameters in aio_writeTroy
2024-03-26Fix epoll.c file format errorTroy
2024-03-26Fix incorrect naming of triggeredTroy
2024-03-26modified: components/libc/posix/io/aio/aio.c Added some function commentsTroy
modified: components/libc/posix/io/aio/aio.h Align comments within the aiocb structure modified: components/libc/posix/io/epoll/epoll.c Add comments for all functions and members within structure members
2024-03-25modified: components/libc/posix/delay/delay.c Added comments for all ↵Troy
functions in this file modified: components/libc/posix/signal/posix_signal.c Add comments to the sigqueue function, although it does not have an internal implementation modified: components/libc/posix/signal/posix_signal.h Added detailed explanation to all members of the rt_signal_value enumeration
2024-03-24Add GCC generalized atomic operation functionWat
2024-02-23🎯 Sync smart & scheduler codes (#8537)Shell
Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-01-26[sys_bind] [signalfd] update (#8507)rcitachi
2024-01-02fix some -Wmissing-prototypes warningsMeco Man
2023-12-28[libc] fix undefined warning of rt_memsetMeco Man
2023-12-25[libc][picolibc] fix llvm compling warningMeco Man
/home/runner/work/rt-thread/rt-thread/components/libc/compilers/picolibc/syscall.c:24:16: warning: returning 'volatile int *' from a function with result type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] return &__pico_errno; ^~~~~~~~~~~~~ /home/runner/work/rt-thread/rt-thread/components/libc/compilers/picolibc/syscall.c:30:16: warning: returning 'volatile int *' from a function with result type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] return &__pico_errno; ^~~~~~~~~~~~~ /home/runner/work/rt-thread/rt-thread/components/libc/compilers/picolibc/syscall.c:33:12: warning: incompatible pointer types returning 'rt_err_t *' (aka 'long *') from a function with result type 'int *' [-Wincompatible-pointer-types] return &tid->error;
2023-12-21Update epoll and timerfd (#8330)zmq810150896
2023-12-21[libc][Kconfig] default open epoll/eventfd/signalfd/timerfd/select (#8386)zmq810150896
2023-12-10update libc (#8335)geniusgogo
2023-12-06Updated issues related to uds capacity and eventfd macro redefinition (#8329)zmq810150896
2023-11-30[nano] rt-thread susport nano optionMeco Man
2023-11-28[SAL] Update SAL,Add socketpair sendmsg recvmsg function (#8293)rcitachi
2023-11-21[libc] add RT_USING_INTERNAL_LIBC_ONLY macroMeco Man
This option is for RT-Thread Nano version. If select this option, it will not compile components/libc folder and only use tool chain internal libc. Normally, the tool chain internal is only cover ISO standard (e.g. armcc), but some tool chains' internal libc will cover more than ISO standard (e.g. newlib).
2023-11-20[libc] add comment for RT_USING_EXTERNAL_LIBCMeco Man
2023-11-16[fix] sal build error.guozhanxin
2023-11-16[libc] update ctime.c compatible with old driversguozhanxin
2023-11-08[libc][picolibc] improve gcc picolibc supportXiang.Lin
2023-11-01[libc] add comments to the cstdlib.c (#8209)shu-qian
Co-authored-by: sq <[email protected]>
2023-10-31[libc] [ctime] fix rt_timespec_to_tick fun internal data overflow (#8198)kk
2023-10-26[ctime] fixup of data racing (#8187)Shell
Signed-off-by: Shell <[email protected]>
2023-10-25🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)xqyjlj
Signed-off-by: Shell <[email protected]> Co-authored-by: Shell <[email protected]>
2023-10-24[libc][time]修复MDK编译环境下difftime()函数多重定义的问题 ↵梁生
(#8174)
2023-10-17Sync dfs lwp (#8123)geniusgogo
2023-10-13Fixed issues with timerfd (#8102)zmq810150896
2023-09-23Add the system call timerfd and update SConscript for signalfd (#8067)zmq810150896
2023-09-19[picolibc] fix the errno declaration conflictMeco Man
/home/runner/work/rt-thread/rt-thread/components/libc/compilers/picolibc/syscall.c:13:5: error: conflicting types for 'pico_get_errno' int pico_get_errno(void) ^ /opt/LLVMEmbeddedToolchainForArm-16.0.0-Linux-x86_64/bin/../lib/clang-runtimes/arm-none-eabi/armv7em_hard_fpv4_sp_d16/include/sys/errno.h:59:6: note: previous declaration is here int *__PICOLIBC_ERRNO_FUNCTION(void);
2023-09-20Adapt rt_channel, increase the generality of some rt_channel functionality ↵zmq810150896
on dfs v2, and standardize signalfd (#8047)
2023-09-11Add the system call signalfd (#8001)zmq810150896