Re: pthreads & dynamic memory in fbsd vs. the same in linux

2005-02-10 Thread Andriy Tkachuk
i sent the mail with attachement. anyway, the code: (probably the better list would be -threads. sorry folks for flame. i subscribed today to -threads, so please reply to it if no mind.) > cat test2.cc #include #include #include #include #include using std::string; #define COUNT_THREADS 5

Re: pthreads & dynamic memory in fbsd vs. the same in linux

2005-02-10 Thread Coleman Kane
Could you post the code too, perchance? On Thu, 10 Feb 2005 10:55:04 +0200, Andriy Tkachuk <[EMAIL PROTECTED]> wrote: > Hi folks. > > I noticed the strange stick of pthreads (amount ~ 500) > when allocating dynamic memory by malloc or new > in my system: > > > uname -a > FreeBSD ant.emict.com 5