Re: Did I miss some package so I can not compile read_write_mutex.hpp in boost?

2011-08-04 Thread Dmitry Andreychuk
ric-laptop:/# find . | grep read_write_mutex.hpp > root_at_eric-laptop:/# > > > --- > and I can not digout from web how to make it compile under gcc/g++ > plz help, Eric > Looks like there is no such file in boost 1.46.1. You should use the same boost version the example was written for or u

Re: input/output trouble cause segmentation fault

2011-07-25 Thread Dmitry Andreychuk
On Fri, Jul 22, 2011 at 5:04 AM, eric wrote: > > I am hard to find any useful resource about how to use time() as > seed to generate random number in web. /* or maybe I not industry > enough */ plz help > > $ man 2 time srand( static_cast( time(0) ) ); -- Dmitry Andreychu

Re: input/output trouble cause segmentation fault

2011-07-21 Thread Dmitry Andreychuk
--- > second case , I used > first case, I used Sorry for a late answer. I've just run it and had no segfault (using ). Ubuntu 11.04; g++ 4.5.2-1ubuntu3 Try debugging it with gdb. -- Dmitry Andreychuk -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists