search for: tokio

Displaying 12 results from an estimated 12 matches for "tokio".

2023 Jul 05
1
Libnbd asynchronous API with epoll
Hello, As part of the Rust bindings for Libnbd, I try to integrate the asynchronous (aio_*) functions with Tokio <https://docs.rs/tokio/latest/tokio/>, the most used asynchronous runtime in Rust. However, in its eventloop, Tokio uses epoll(7) instead of poll(2) (which is used internally in Libnbd). The difference is that poll(2) uses level-triggered notifications as aposed to epoll(7) which uses ed...
2023 Aug 30
2
[libnbd PATCH 0/2] (Attempt to) fix Rust on BSD-based builds
I managed to get a build of the async Rust handle compiling on FreeBSD (although the cirrus CI appears to not actually run 'make check' on non-Linux machines, at least when run on my fork): https://gitlab.com/ebblake/libnbd/-/jobs/4985192286 However, I'd really like Tage's review on patch 2 to see if my Rust makes sense. Eric Blake (2): maint: Favor 4-space indent in .rs files
2023 Jul 06
1
Libnbd asynchronous API with epoll
On Wed, Jul 5, 2023 at 3:38?PM Tage Johansson <tage.j.lists at posteo.net> wrote: > As part of the Rust bindings for Libnbd, I try to integrate the > asynchronous (aio_*) functions with Tokio > <https://docs.rs/tokio/latest/tokio/>, the most used asynchronous runtime > in Rust. However, in its eventloop, Tokio uses epoll(7) instead of poll(2) > (which is used internally in Libnbd). The difference is that poll(2) uses > level-triggered notifications as aposed to epoll(7...
2023 Aug 30
1
[libnbd PATCH v9 5/7] rust: async: Add a couple of integration tests
On Wed, Aug 30, 2023 at 12:16:07PM -0500, Eric Blake wrote: > > error[E0425]: cannot find value `EPOLL_CTL_ADD` in crate `libc` > > https://www.reddit.com/r/rust/comments/65kflg/does_rust_have_native_epoll_support/ > mentions how epoll is Linux-specific, and has comments about tokio > trying to build on top of mio in order to be platform-independent (mio > uses epoll on Linux where it is available, but does not require epoll > on other platforms). So I spent a couple hours experimenting with whether I could use mio::poll instead of epoll, and at least got things comp...
2009 Oct 05
5
Networking Concept
Hello, I would like to know how Asterisk deal in this case: Assume I have a Main Asterisk Server located in UK, and another box that have PSTN interfaces located in China, now the purpose is to FW calls through PSTN. Assuming I have a client who is calling from Japan to my main switch in UK and he is calling China, (japan have latency around 500ms to UK and 100ms to China), how asterisk
2019 Nov 27
2
Restar datetime, resultado erróneo
...cias. Un saludo! El mar., 26 nov. 2019 a las 18:44, Javier Marcuzzi (< javier.ruben.marcuzzi en gmail.com>) escribió: > Estimados > > Depende, el paso de un día a otro da problemas, el ejemplo más simple es > comparar los valores de la bolsa de valores, suponiendo una acción de Tokio > contra la misma en Alemania, por decir algo, la cotización a las 12:25 del > 22 de marzo. Desde mi punto de vista, siempre es conveniente utilizar un > formato de fecha y hora universal, hay problemas que desaparecen, o > expresado de otra forma ya fueron solucionados al estandarizar...
2019 Nov 25
2
Restar datetime, resultado erróneo
Pues es buena solución, muchas gracias Álvaro. El lun., 25 nov. 2019 a las 10:25, Álvaro Hernández Vicente (<alvarohv en um.es>) escribió: > Pues lo más rápido quizá sea sumarle los minutos totales que tiene un > día a los que te salgan negativos. > > -1315 + 24*60 = 125 min > > Un saludo > Álvaro > > El 25/11/19 a las 9:36, Ruben Tobalina Ramirez escribió: >
2007 Dec 21
1
R script to start session (without automatically finishing)
...itut (HHI) Einsteinufer 37 10587 Berlin, Germany Phone +49 30 31002 616 Fax +49 30 392 72 00 Email philipp.fechteler at hhi.fraunhofer.de WWW http://iphome.hhi.de/fechteler ________________________________________________________________________ ---- Visit us at FOE 2008 (8th Fiber Optics Expo) / Tokio Big Sight, Japan / 16 - 18 January 2008 / Booth 2 - 50 http://www.foe.jp/english
2023 Oct 10
5
[PATCH libnbd 0/4] Miscellaneous Rust cleanups
Add an overview libnbd-rust(3) man page pointing to the real documentation. This is like OCaml & Golang. When reviewing the real rustdocs I noticed they basically converted the man pages into plain text, resulting in lots of problems such as internal links not working, no `code` annotations, etc. So I wrote a simple POD to rustdoc translator. It is by no means perfect, but it fixes many of
2007 Dec 01
2
Sweave: Variables in code chunk headers
I would like to be able to do something like this: <<echo=F,fig=T,width=mywidth>>= ... @ with mywidth set in a previous code chunk. Is there a way to do this in Sweave? (Sorry for two questions in a row, I have been saving these up.) -- Michael
2007 Dec 01
2
Sweave: Variables in code chunk headers
I would like to be able to do something like this: <<echo=F,fig=T,width=mywidth>>= ... @ with mywidth set in a previous code chunk. Is there a way to do this in Sweave? (Sorry for two questions in a row, I have been saving these up.) -- Michael
2018 Oct 12
0
Wine release 3.18
...ing installation 43615 32-bit Process Hacker 2.39.124 crashes in 64-bit WINEPREFIX (advapi32.EnumServicesStatusEx returns garbage on Wow64) 43621 Life On Mars remake demo has missing sprites 43878 Multiple apps/games crash on unimplemented function kernel32.dll.GetQueuedCompletionStatusEx (Tokio Rust samples, Star Control: Origins, 1Password-7.2.*) 43898 Steam: Crashes after regaining focus when in Steam Guard email code window 44405 Rise Of Nations Extended edition (Steam) crashes when trying to list mods due to missing NULL output buffer handling in CryptBinaryToString() 44474 S...