Is there something to replace the functions?

前端 未结 4 873
不思量自难忘°
不思量自难忘° 2020-12-05 07:47

The user thread functions in are deprecated because they use a deprecated C feature (they use a function declaration with empty parentheses f

4条回答
  •  生来不讨喜
    2020-12-05 08:19

    For what it's worth, there's a Boost.Context library that was recently accepted and needs only to be merged into an official Boost release. Boost.Context addresses the same use cases as the POSIX ucontext family: low-overhead cooperative context switching. The author has taken pains with performance issues.

提交回复
热议问题