On Tuesday, 5 January 2021 13:38:11 GMT Hynek Schlawack wrote: > >> What's more interesting is that io_uring accepts files as > >> well as network/pipe handles: avoiding the need for threads. > > > > What threads? Why do you call out file FDs different from socket FDs? > > > > The point of io_uring is to avoid transitions between user and kernel right? > > Nothing to do with thread. > > > > In current twisted you can run complex network code without threads > > already. > > Because before io_uring there was no reliable way on Linux to do async file > I/O and everybody is forced to use thread pools for it.
You mean like the way that opening a file can block as the kernel walks the directories? Barry _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python