简体   繁体   English

将Boost线程/进程调整为不受支持的平台

[英]Adapt Boost Thread / Process for non supported platform

Background 背景

this documentation says that it is possible to adapt the library to new (unsupported) operation system . 文档说,可以使库适应新的(不受支持的)操作系统 Because the OS (a real time OS) I would like to support is close to Win32 , I would expect little code changes. 因为我要支持的操作系统(实时操作系统) 接近Win32 ,所以我希望代码很少更改。 I have no experience with Boost Thread and Boost Interprocess . 我没有使用Boost Thread和Boost Interprocess的经验。

Questions 问题

  • Would you recommend to use Boost's Thread and Boost's Interprocess, if the plattform is not supported? 如果不支持平台,您是否建议使用Boost的线程和Boost的Interprocess?
  • What are the benefits and drawbacks? 优点和缺点是什么?
  • Which alternatives would you consider? 您会考虑哪些替代方案?

All this depend on your needs. 所有这些取决于您的需求。 Using a portable library has the obvious advantages. 使用便携式库具有明显的优势。 Stabilizing a new platform could take some time. 稳定新平台可能需要一些时间。

I would suggest you to create tickets for each one of the features that doesn't work for the specific platform and work closely with the Boost authors. 我建议您为无法在特定平台上使用的每一项功能创建票证,并与Boost作者紧密合作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM