How to add a friend class ThreadSubPool in ThreadPool

Please post support and help requests here.
shaounlimit
Posts: 3
Joined: 06 Apr 2013, 15:31

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

alex
Posts: 1246
Joined: 11 Jul 2006, 16:27
Location: United_States

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.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 1 guest