X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; q=dns; s=default; b=N+c EGU8+8er5hVXmkJcCfHUrPpOC64K2aISsLrwX3NvFFLr7iC/43ymOFv/ipGkKfQ+ Qy5BzxByEYxZmEKcy5W3dLNG/440r/1K8R/8Ns0DGkEcs3MRembm6dIkkU1cNKyg hESvhVAkY3UghDJjgaI25OMepNHjqSVl3bxOnTw8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; s=default; bh=w8Twowow2 K0avcBQGjTiNIU49tI=; b=kln7tX6dy92yhcAynFLZKwU5CV0qQmASkqovNB8QO oF6rwu0WSlkovgBEaZPmYk7tEzIsmvXNQ1a1W6KQtcQuEwOyFD0v4b1dM2Cp5wkn 95QKgjbp2cqZ8kIzO9GWKSzwNers71q9evqXyAgFMYFJPG7Dk9UhXfbL45YCBWfv Yk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-4.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD autolearn=ham version=3.3.1 Message-ID: <51674333.2080102@alice.it> Date: Fri, 12 Apr 2013 01:11:47 +0200 From: Angelo Graziosi User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Cygwin , fortran Subject: Re: Cygwin with clock_gettime and CLOCK_MONOTONIC - gives always 0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 > programming. 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 month ago. Ciao, Angelo. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple