[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 176410273453_noaudio.mp4 (2.12 MB, 576x766)
2.12 MB
2.12 MB MP4
previous: >>108758195

#define __NR_io_setup                206
#define __NR_io_destroy 207
#define __NR_io_getevents 208
#define __NR_io_submit 209
#define __NR_io_cancel 210
#define __NR_io_pgetevents 333

https://man7.org/linux/man-pages/man2/io_setup.2.html
https://man7.org/linux/man-pages/man2/io_destroy.2.html
https://man7.org/linux/man-pages/man2/io_getevents.2.html
https://man7.org/linux/man-pages/man2/io_submit.2.html
https://man7.org/linux/man-pages/man2/io_cancel.2.html

tl;dr:
asynchronous IO (aio)

seems like pgetevents may not necessarily exist
can't say i'm particularly familiar with this subject, but here https://man7.org/linux/man-pages/man7/aio.7.html
seems useful enough, although i'm not sure why you'd prefer this over any other implementation. any anons around who've used this? care to weigh in?

relevant resources:
man man

man syscalls

https://man7.org/linux/man-pages/
https://linux.die.net/man/
https://elixir.bootlin.com/linux/
https://elixir.bootlin.com/musl/
https://elixir.bootlin.com/glibc/
>>
i've never used io_uring myself, but seems cool.
iirc it allows for much faster read/write than standard read/write syscall.
don't remember how it works at all though. i need to look into this again at some point, and try writing some test code.
>>
>>108766296
i want to sex this cute girl(boy)
>>
>>108766296
Where maid?
>>
>>108766296
>any anons around who've used this? care to weigh in?
ive never even made a syscall
>>
>>108766296
i look like this
>>
>>108766296
Those are very basic and are only useful for databases (afair they were added by Oracle). The biggest problem is that they only work in async way in O_DIRECT mode and only if buffer is properly aligned (block on submission otherwise).

Basically, they should be considred deprecated and were replaced by io_uring.
>>
File: images (1).jpg (17 KB, 447x447)
17 KB JPG
>>108768377
stop lying you tranny!!
YOU HAVE BROAD SHOULDERS, AN ADAMS APPLE AND YOUR VOICE CRACKS!!

YWNBAW!!!
>>
>>108768460
i have never had an adams apple, and my voice never cracked
though i am a tranny indeed
>>
>>108768428
io_uring even allows you to write to files with no syscalls (after the initialization)
>>
File: ah.png (24 KB, 657x527)
24 KB PNG
>>108768494
>though i am a tranny indeed
from one abomination to another, pls stop, you're embarrassing us and scarring off all the cute succubi...succubettes?
>>
>>108769411
i have no other place to stay
>>
>>108766296
probably the least traumatic way for that girl to learn to enforce her boundaries
>>
>>108769887
that's not a girl
>>
will we get other ABI's syscalls next year?
>>
>>108766296
Usecase when Rust exists?
>>
>>108771453
we'll be finishing before next year, but i'm open to checking out some other syscalls afterwards



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.