etcimon / libasync

Cross-platform event loop library of asynchronous objects
MIT License
147 stars 30 forks source link

Cleanup and fix for epoll_event alignment on non-X86 #58

Closed MoritzMaxeiner closed 8 years ago

MoritzMaxeiner commented 8 years ago

As documented here, epoll_event is only packed on X86 (and X86_64), so backport that fix. Also, remove everything that can be imported from druntime.

MoritzMaxeiner commented 8 years ago

Hm, I don't know why the check fails for dmd 2.069, since the module is clearly present in druntime 2.069.0.

etcimon commented 8 years ago

Thanks!

etcimon commented 8 years ago

It's not copied into the includes folder up until 2.070.0: https://github.com/dlang/druntime/blob/v2.069.2/mak/COPY

etcimon commented 8 years ago

I wonder if everything is nothrow enough to clean up all the useless try/catch blocks =)