Re: Threading - How its done?

2008-05-07 Thread Army Research Lab
On 5/7/08 12:34 PM, "Jens Alfke" <[EMAIL PROTECTED]> wrote: > On 7 May '08, at 6:13 AM, Army Research Lab wrote: > >> As for why threads are 'hard'; in reality, they aren't hard, as long >> as >> you are absolutely fastidious in f

Re: Threading - How its done?

2008-05-07 Thread Army Research Lab
Karl von Moller wrote on Wed, 7 May 2008 09:51:56 +1000: > Thanks to all that posted. > >> To the original poster: >> >> How much experience do you have with threads? I'm a little confused >> reading through your posts, I can't tell if you are familiar with >> pthreads, and just need to figure o

Re: Threading - How its done?

2008-05-06 Thread Army Research Lab
To the original poster: How much experience do you have with threads? I'm a little confused reading through your posts, I can't tell if you are familiar with pthreads, and just need to figure out NSThreads, or if you have no threading experience at all. To everyone that has both Cocoa and thread

Re: binary search trees & binning

2008-04-17 Thread Army Research Lab
t;[EMAIL PROTECTED]> wrote: > I never thought of using a hash function to do binning. Interesting > approach. > > > Army Research Lab wrote: >> Have you looked at hash_multimap >> (http://www.sgi.com/tech/stl/hash_multimap.html)? Note that the following >&g

Re: binary search trees & binning

2008-04-16 Thread Army Research Lab
Have you looked at hash_multimap (http://www.sgi.com/tech/stl/hash_multimap.html)? Note that the following code was beaten out in entourage, without compiling, testing, etc. struct eqdouble { bool operator()(const double d1, const double d2) const { double diff = d1 - d2; if (diff < 0