博尔兰C++;到Cygwin C++;:从TThreads到pthreads? 我正在研究一个项目,我需要消除对Borland C++编译器的所有引用(我为什么不这么做):到目前为止,它还是比较成功的。p>

博尔兰C++;到Cygwin C++;:从TThreads到pthreads? 我正在研究一个项目,我需要消除对Borland C++编译器的所有引用(我为什么不这么做):到目前为止,它还是比较成功的。p>,c++,cygwin,pthreads,tthread,borland-c++,C++,Cygwin,Pthreads,Tthread,Borland C++,但是,我有一个扩展TThreads的类,Borland thread类。我想改用pthreads,但我不确定pthreads是否可以扩展 如果有人对扩展pthread类或甚至从Borland转换为非Borland有任何有用的小道消息,我将不胜感激 是否需要扩展pthread?或者,您真的只想在pthread周围有一个包装器吗 pthreads的一个很好的参考 在查看了链接之后,我想我找到了真正需要的东西:我将创建一个pthread,该pthread调用作为pthread的一部分在Borland类

但是,我有一个扩展TThreads的类,Borland thread类。我想改用pthreads,但我不确定pthreads是否可以扩展


如果有人对扩展pthread类或甚至从Borland转换为非Borland有任何有用的小道消息,我将不胜感激

是否需要扩展pthread?或者,您真的只想在pthread周围有一个包装器吗

pthreads的一个很好的参考

在查看了链接之后,我想我找到了真正需要的东西:我将创建一个pthread,该pthread调用作为pthread的一部分在Borland类中已经创建的方法。谢谢你的提示!你能用boost吗。我知道只要把它放进去就会有很大的开销。但是我可以做一些令人惊奇的事情!!