Giter VIP home page Giter VIP logo

Comments (8)

kinetiknz avatar kinetiknz commented on August 15, 2024

It looks like tokio-uds will need additional changes before we can update to it. need_read and need_write have been removed from UnixStream and the replacement clear_read_ready and clear_write_ready haven't been exposed publicly.

from_stream has been renamed to from_std, but it also takes a different Handle type, so we may have to move all of our Tokio use to the newer version to make progress on this.

from audioipc.

djg avatar djg commented on August 15, 2024

from audioipc.

kinetiknz avatar kinetiknz commented on August 15, 2024

Fortunately it's not the big tokio/futures 0.2 change, just the earlier tokio reform work that introduced the top-level tokio 0.1 crate.

It turns out there's a compat shim for tokio Handle types, so it's possible to convert the old-style tokio_core Handle into a new tokio_reactor Handle via new_tokio_handle().

It seems like that's the only additional change necessary to compile, so I've pushed a branch to https://github.com/djg/audioipc-2/tree/tokio_uds_020. Note that it does rely on a modified tokio_uds that reexports clear_read_ready and clear_write_ready.

ipctest doesn't complete with this branch, so there are still fixes needed somewhere.

from audioipc.

landryb avatar landryb commented on August 15, 2024

i only see a single commit on the tokio_uds_020 branch.. is it the one that's supposed to build with tokio-uds 0.2.0 ? seems the same as the ctest branch.

As for reexporting clear_{read,write}_ready, how can this be handled ? fixed upstream in the merged tokio repo ?

from audioipc.

kinetiknz avatar kinetiknz commented on August 15, 2024

i only see a single commit on the tokio_uds_020 branch.. is it the one that's supposed to build with tokio-uds 0.2.0 ? seems the same as the ctest branch.

Sorry. I've pushed the actual changes now.

As for reexporting clear_{read,write}_ready, how can this be handled ? fixed upstream in the merged tokio repo ?

That change needs to go in to tokio-uds. I'll send a PR soon and see what happens.

from audioipc.

Eijebong avatar Eijebong commented on August 15, 2024

@kinetiknz Any news on this ? tokio-uds is the last thing pulling log 0.3.9 in m-c

from audioipc.

kinetiknz avatar kinetiknz commented on August 15, 2024

I have a working build using tokio 0.1 and tokio-uds 0.2 (with minor local changes) now. Working on getting this merged.

from audioipc.

kinetiknz avatar kinetiknz commented on August 15, 2024

Done via #64.

from audioipc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.