Thread View: cn.bbs.comp.unix.programming.kernel
1 messages
1 total messages
Started by �������
Tue, 12 Mar 2002 05:48
ʱ�����һ��
Author: �������
Date: Tue, 12 Mar 2002 05:48
Date: Tue, 12 Mar 2002 05:48
25 lines
1395 bytes
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��....�������Ǹ����������???
лл
--
����һ�ɳ徢�´�, ������ʵû�й���.
[m[36m�� ��Դ:��BBS ˮľ�廪վ smth.org��[FROM: 202.119.71.142][m
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads