Overview
Features
Download
Documentation
Community
Add-Ons & Services

How to add a friend class ThreadSubPool in ThreadPool

Please post support and help requests here.

How to add a friend class ThreadSubPool in ThreadPool

Postby shaounlimit » 08 Apr 2013, 02:56

Hey

How could I add a friend class ThreadSubPool in class Foundation_API ThreadPool? Should I copy thread.h/.cpp files from Poco to my project and edit them with my codes. How could I compile it and make Poco lib know it?

best regards

Yu
shaounlimit
 
Posts: 3
Joined: 06 Apr 2013, 15:31

Re: How to add a friend class ThreadSubPool in ThreadPool

Postby alex » 08 Apr 2013, 03:13

the only way to make poco know about our class is to change the poco code. it's a bad practice, though - private parts of a class are private for a reason and not meant for user access.
alex
 
Posts: 1143
Joined: 11 Jul 2006, 16:27
Location: United_States


Return to Support

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests