Comments (11)
Ok, we support the final one(signalfd), great!
from nuttx.
I would prefer not. These are non-standard GLIBC functions. NuttX follows the standards defined at OpenGroup.org which does not include these interfaces.
There are exceptions to this in the code base now, but I don't think we should proliferate non-standard interfaces.
from nuttx.
The solution would also required timerfd_create(). https://linux.die.net/man/2/timerfd_settime
While I don't advocate including non-standard interfaces in the OS, I would not oppose the inclusion of these GLIBC/Linux interfaces if they were properly implemented in the nuttx/fs directory (with new interfaces to sched/timer, were configurable, and had proper system calls implemented in syscall/.
from nuttx.
yes, of course, the timerfd_create () function is also required. I think it would be very useful for this project to have such a set of functions:
timerfd_create ();
thimerfd_settime ();
thimerfd_gettime ();
Thank you in advance if they appear !
from nuttx.
We can add eventfd and signalfd to the list too, these three API set is the good addition to POSIX since they strengthen the core UNIX design principle: Everything is a file. And also simplify the signal and timer handling a lot especially if caller need deal with file/socket at the same time.
from nuttx.
I agree !
from nuttx.
eventfd APIs introduced with PR #1479. PR #1479 does not address signalfd and timerfd interfaces, however.
from nuttx.
Hello!
I'm interested in timerfd_create()
, timerfd_settime()
and timerfd_gettime()
as well. Does anyone have an implementation ready? If not, I might try to implement it myself.
from nuttx.
@eerimoq as far as I know nobody start the work, it will be great to add timerfd support! Actually, you can reference the recent addition of eventfd PR #1479 and #1479.
from nuttx.
Trying to address this issue in scope of #5014
from nuttx.
Nice!
from nuttx.
Related Issues (20)
- Add esp32c6 power manager feature HOT 3
- [BUG] Just a test HOT 1
- [BUG] kasan read access error in umm_initialize HOT 9
- [BUG] Running lm3s6965-ek:qemu-protected with gdb-multiarch is crashing HOT 5
- [HELP] ESP32 chip revision ERROR HOT 2
- [BUG] ESP32C6 DevKitM spi issue HOT 17
- [FEATURE] Extensible PL011 UART driver HOT 3
- [HELP] Cannot debug esp32c6 using open ocd HOT 8
- [HELP] prompts "undefined referenc to `_impure_prt`" HOT 6
- [FEATURE] Add support for better pre-commit HOT 2
- [HELP] Register setting during booting the OS on ARM A53 FVP HOT 2
- [HELP] Recreating symlinks/switching directory (configure) HOT 3
- [HELP] FFI compatiblity issues HOT 7
- [BUG] sim:citest doesn't compile HOT 17
- [BUG] is it typo in esp_wifi_adapter.c ? (ESP32C3) HOT 4
- [BUG] Nucleo-L432KC NSH (USART2) no RX (wrong pin map?) HOT 6
- [HELP] How to print MMU related information on ARM FVP? HOT 16
- [HELP] Why does libm not have nextafter? HOT 3
- [BUG] ESP32C6 SPI Read Issue HOT 15
- [BUG] imxrt:lpi2c kconfig and source code discrepancy HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuttx.