About the testsuite file allocator_threads.h

Stefan Olsson stefan@xapa.se
Fri Feb 27 07:27:00 GMT 2004


Dhruv Matani wrote:

>1. do_loop does not return anything.
>
Hi Dhruv,

which file are you talking about? 
libstdc++-v3/testsuite/performance/20_util/allocator/map_thread.cc?
You're right - it doesn't return anything but then again that doesn't 
matter. From a esthetic point of view I guess it should return NULL.

>2. Can functions passed to pthread_create have C++ linkage?
>
Well, pthread_create takes a void*...
...what's the question here?

Brgds

/Stefan



More information about the Libstdc++ mailing list