git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] "sleep 1" sleeps too little on cygwin

From
CFChristopher Faylor <me@cgf.cx>
Date
Jan 19, 2006, 05:18 UTC
Message-ID
<20060119051848.GA8121@trixie.casa.cgf.cx>
In-Reply-To
<7vvewi2typ.fsf@assigned-by-dhcp.cox.net>
On Tue, Jan 17, 2006 at 05:41:34PM -0800, Junio C Hamano wrote:
Show 8 quoted lines
>Alex Riesen <raa.lkml@gmail.com> writes:
>>Probably another one windows quirk, or just the moon phases, but I have
>>to make damn sure it sleeps long enough.
>
>IIRC, DOS file timestamps have 2 seconds granularity, so sleeping for
>one second might not be enough to begin with.  Also I run my cygwin
>test on sufficiently slow machine, so that may explain why I have not
>notice the problem ;-).

Cygwin really does sleep a second if you tell it to, but on FAT filesystems, you're right, the granularity something like 2 seconds.

cgf
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 22 in “"sleep 1" sleeps too little on cygwin”
  1. "sleep 1" sleeps too little on cygwinAlex Riesen, Jan 17, 2006
  2. Junio C HamanoJan 18, 2006
  3. Alex RiesenJan 18, 2006
  4. Junio C HamanoJan 18, 2006
  5. Christopher FaylorJan 19, 2006
  6. Junio C HamanoJan 18, 2006
  7. Johannes SchindelinJan 18, 2006
  8. Junio C HamanoJan 18, 2006
  9. Alex RiesenJan 18, 2006
  10. Junio C HamanoJan 19, 2006
  11. Christopher FaylorJan 19, 2006
  12. Alex RiesenJan 19, 2006
  13. Junio C HamanoJan 19, 2006
  14. Alex RiesenJan 19, 2006
  15. Junio C HamanoJan 20, 2006
  16. Christopher FaylorJan 19, 2006
  17. Alex RiesenJan 19, 2006
  18. Christopher FaylorJan 19, 2006
  19. Junio C HamanoJan 20, 2006
  20. Christopher FaylorJan 20, 2006
  21. Alex RiesenJan 20, 2006
  22. Christopher FaylorJan 20, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.