I'm working on a project that I need to eliminate all references to the Borland C++ compiler (why I'm doing this is not the question :) ) and have been relatively successful so far.

However, I have this class that extends TThreads, the Borland thread class. I would like to use pthreads instead but I'm not quite sure if pthreads can be extended.

If anyone has any useful tidbits about extending the pthread class or even converting from Borland to non-Borland I would be greatly appreciative!

有帮助吗?

解决方案

Do you need to extend pthread? Or do you really just want a wrapper around a pthread?

A good reference for pthreads https://computing.llnl.gov/tutorials/pthreads/#Pthread

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top