linux-um archives
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Stephen Su <ssu_7@yahoo.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] sleep() calls blocks forever after settimeofday()
Date: Wed, 20 Feb 2008 11:18:00 -0500	[thread overview]
Message-ID: <20080220161800.GA8828@c2.user-mode-linux.org> (raw)
In-Reply-To: <287505.46914.qm@web32213.mail.mud.yahoo.com>

On Tue, Feb 19, 2008 at 08:10:13PM -0800, Stephen Su wrote:
> I am still on Linux kernel 2.6.17.4, I ran into sleep() calls blocks
> forever after change date of time. Please help! 

You mean like this?

	[root@uml-test ~]# date -s tomorrow
	Thu Feb 21 11:16:40 EST 2008
	[root@uml-test ~]# time sleep 1

	real    0m1.020s
	user    0m0.000s
	sys     0m0.000s

Works here, so maybe you could use a more modern UML.

				Jeff

-- 
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

      reply	other threads:[~2008-02-20 16:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-20  4:10 [uml-devel] sleep() calls blocks forever after settimeofday() Stephen Su
2008-02-20 16:18 ` Jeff Dike [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080220161800.GA8828@c2.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=ssu_7@yahoo.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox