lewissbaker / cppcoro

A library of C++ coroutine abstractions for the coroutines TS
MIT License
3.43k stars 472 forks source link

support for linux scheduler and timer #64

Open neo5167 opened 6 years ago

neo5167 commented 6 years ago

Linux support for scheduler and timer with epoll, timerfd, eventfd, and other such sundry stuff. I am restructuring the code with less ifdefs. But I want to do that with guidance from you guys. Also, its a fork of an older version. I am working rebasing it to something more recent as well. In this PR, please comment on how to structure the code so that we can move platform dependent stuff into something more manageable.

neo5167 commented 6 years ago

@lewissbaker Cool. Thanks for the comments. Working on the easiest ones now. For the more complex ones, let's chat in the comments on how to proceed.

lewissbaker commented 6 years ago

@neo5167 How are you going with the changes? Any questions I can help you with?

neo5167 commented 6 years ago

@lewissbaker Sorry. Progress has been a little slow. I am hoping to send another commit in the next several days. Plan is to fix the comments by end of this month.

neo5167 commented 6 years ago

@lewissbaker take a look at the latest commit. Also, any ideas on how we should proceed with the whole ifdef thing? Is the main branch still ifdef based or have you already structured it more cleanly?

neo5167 commented 6 years ago

@lewissbaker I was thinking of working on file support at a later time but push this PR through first. What do you think? If that is ok then I will work on rebasing with the main... let me know...