Re: [osg-users] DisplaySettings::setNumOfHttpDatabaseThreadsHint Bug

2009-06-17 Thread Robert Osfield
Hi Ryan,

Well spotted, I've just fixed this in the svn/trunk and OSG-2.8 branch.

Robert.

On Wed, Jun 17, 2009 at 12:33 AM, Kawicki, Ryan
H wrote:
> I believe there to be a bug in
> DisplaySettings::setNumOfHttpDatabaseThreadsHint.
>
> Current implementation
>
> /** Set the hint for number of threads in the DatbasePager to dedicate
> to reading http requests.*/
> void setNumOfHttpDatabaseThreadsHint(unsigned int numThreads) {
> _numDatabaseThreadsHint = numThreads; }
>
> I think it should be
>
> /** Set the hint for number of threads in the DatbasePager to dedicate
> to reading http requests.*/
> void setNumOfHttpDatabaseThreadsHint(unsigned int numThreads) {
> _numHttpDatabaseThreadsHint = numThreads; }
>
> Thanks.
>
> Ryan H. Kawicki
> The Boeing Company
> Training Systems & Services
> Software Engineer
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] DisplaySettings::setNumOfHttpDatabaseThreadsHint Bug

2009-06-16 Thread Kawicki, Ryan H
I believe there to be a bug in
DisplaySettings::setNumOfHttpDatabaseThreadsHint.

Current implementation

/** Set the hint for number of threads in the DatbasePager to dedicate
to reading http requests.*/
void setNumOfHttpDatabaseThreadsHint(unsigned int numThreads) {
_numDatabaseThreadsHint = numThreads; }

I think it should be

/** Set the hint for number of threads in the DatbasePager to dedicate
to reading http requests.*/
void setNumOfHttpDatabaseThreadsHint(unsigned int numThreads) {
_numHttpDatabaseThreadsHint = numThreads; }

Thanks.

Ryan H. Kawicki
The Boeing Company
Training Systems & Services
Software Engineer

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org