This is the mail archive of the
mailing list for the Cygwin project.
Re: Cygwin with clock_gettime and CLOCK_MONOTONIC - gives always 0
- From: Angelo Graziosi <angelo dot graziosi at alice dot it>
- To: Cygwin <cygwin at cygwin dot com>, fortran <fortran at gcc dot gnu dot org>
- Date: Fri, 12 Apr 2013 01:11:47 +0200
- Subject: Re: Cygwin with clock_gettime and CLOCK_MONOTONIC - gives always 0
Steve Kargl wrote:
On Thu, Apr 11, 2013 at 10:35:54PM +0200, Tobias Burnus wrote:
* gfortran's example for random_see should be change to not use
system_clock for the random seed.
I disagree. The example is just that a short example
that demonstrates how to use random_seed. Anyone using
that example in his/her code without testing the results
in his/her potentially broken environment should not be
Obviously I test the code before using it, and it worked fine since oct.
2010 on different systems: Fedora, Ubuntu, Kubuntu and also on Cygwin
(as long as one uses GCC-4.5). It is only recently, with GCC >= 4.7, I
noticed the problems on Cygwin.
BTW, I changed the method to initialize the random seed more than a
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple