boostorg / fiber

userland threads
464 stars 108 forks source link

Examples/fix asio deprecations #245

Closed martinitus closed 4 years ago

martinitus commented 4 years ago

Resolves #244

I currently don't have any build environment for fibre, so the changes are untested. Do you have a CI that can confirm that it works?

Essentially its just find/replace: type: io_service -> io_context variable name: io_svc -> io_ctx

I also replaced usage of io_context::post method to use the free asio::post function instead.

Regards, Martin

olk commented 4 years ago

ty

martinitus commented 4 years ago

You are welcome! Keep up the nice work :+1: