Path: csiph.com!usenet.pasdenom.info!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Pascal J. Bourguignon" Newsgroups: comp.programming Subject: Re: To sleep, perchance to dream? Date: Sat, 03 Nov 2012 04:16:26 +0100 Organization: Informatimago Lines: 27 Message-ID: <87hap7ml4l.fsf@informatimago.com> References: <5e627065-8b9c-43ae-9ae3-867777cf5476@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: individual.net +GFl2snLrNLw4DRVoXZUdgjcYvnn5jK0lRAo4iqX4YO02tTgEp9ckmv5ZcnKHeh7NE Cancel-Lock: sha1:OWM4NWEyOTlmMDBkNjEyNTk3Y2I5YjRiMGFkYWFmZGJlMDVjY2RkZg== sha1:UjeOlR/BlwoGynfmJP65rYVERA0= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (darwin) Xref: csiph.com comp.programming:2444 bob writes: > Do programmers actually try to ensure that their applications function > correctly when the computer goes into sleep mode for 10 hours and then > comes out? > > Or do they just hope no one puts the computer in sleep mode while > their app is running? In any case, it's a good question. For the time aspects, see: http://unix4lyfe.org/time/ http://naggum.no/lugm-time.html http://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time http://infiniteundo.com/post/25509354022/more-falsehoods-programmers-believe-about-time-wisdom There may also be other aspects to sleeping. -- __Pascal Bourguignon__ http://www.informatimago.com