Comments (8)
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.
from audioipc.
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.
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.
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.
@kinetiknz Any news on this ? tokio-uds is the last thing pulling log 0.3.9 in m-c
from audioipc.
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.
Done via #64.
from audioipc.
Related Issues (20)
- New clippy issues about alignment size HOT 2
- Update tokio to 1.0 HOT 2
- Query cubeb to calculate precise `shm_area_size` for a given stream configuration HOT 1
- Rework naming conventions and improve documentation
- Add tests for bugs fixes in PR #134
- Ensure audioipc's real-time thread are on the same work group on macOS
- please backport fix for Disable audio_thread_priority default features HOT 5
- Avoid configuring shared memory for unused stream directions. HOT 2
- upgrade memmap requirement to 0.6
- upgrade iovec requirement to 0.2 HOT 3
- Collection changed callback does not respect input or output as device type HOT 4
- musl patch from #43 doesn't work on big endian HOT 2
- Replace usage of deprecated ATOMIC_USIZE_INIT HOT 1
- Build fails on Windows, appears to be due to sys/socket.h usage in c code HOT 1
- Safer shared memory API HOT 5
- Make file descriptor passing more flexible HOT 1
- messages::_IMPL_DESERIALIZE_FOR_Device::_serde::Serialize` is not implemented for `[u8; 80]` HOT 4
- File descriptor passing broken on FreeBSD HOT 3
- The future of tokio in audioipc 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 audioipc.