🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.unix.programming.kernel
Article #23

ʱ�����һ��

#23
From: �������
Date: Tue, 12 Mar 2002 05:48
25 lines
1395 bytes
��ʱ��ĵװ봦��

static void update_wall_time(unsigned long ticks)
1415 {
1416         do {
1417                 ticks--;
1418                 update_wall_time_one_tick(); // ����Ǹ�����xtime
1419         } while (ticks);
1420
1421         if (xtime.tv_usec >= 1000000) {
1422             xtime.tv_usec -= 1000000;
1423             xtime.tv_sec++;
1424             second_overflow();
1425         }
1426 }
1427
�����ʵ���xtimeֻ�����΢��,xtime������ָ��1970��....�������Ǹ����������???
лл

--

����һ�ɳ徢�´�, �׿�����ʵû�й���.


�� ��Դ:��BBS ˮľ�廪վ smth.org��[FROM: 202.119.71.142]
Technical Details
Message-ID: <3lI5lD$p8S@smth.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!feedme.news.mediaways.net!fu-berlin.de!news.cn99.com!thunews.dhs.org!SMTH

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: 10e809,1d0ae4f8b22e966a,start
X-Google-Attributes: gid10e809,public
X-Google-ArrivalTime: 2002-03-11 21:51:05 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!feedme.news.mediaways.net!fu-berlin.de!news.cn99.com!thunews.dhs.org!SMTH
From: hushui110.bbs@smth.org (�������)
Newsgroups: cn.bbs.comp.unix.programming.kernel
Subject: ʱ�����һ��
Date: 12 Mar 2002 05:48:11 GMT
Organization: BBS ˮľ�廪վ
Message-ID: <3lI5lD$p8S@smth.org>
X-Filename: KernelTech/M.1015911901.J0
Lines: 25