Thread View: cn.bbs.comp.unix.programming.kernel
1 messages
1 total messages
Started by fion
Tue, 12 Mar 2002 06:44
Re: TO fion: �����ں��ź���
Author: fion
Date: Tue, 12 Mar 2002 06:44
Date: Tue, 12 Mar 2002 06:44
17 lines
1851 bytes
1851 bytes
лл����ܽᣬ�����ѧϰ���ͬ�����ⷽ��Ķ�����������ϸ�о��� һ����Ĵ������Ǻǣ��Ҽǵ��㻹��һƪ��spinlock�İɣ�Ҳ������� �� �� howTo (howto) �Ĵ������ᵽ: �� : �������ǵ������ˣ��������ܽᣬ�Ǻ� : �����û����ǵ����ӣ� : ��sem->count=sem->sleepers=0��Ҳ���������ȴ���� ��һ������������У� : �Ⱥ�ֱ����3��down()��������3��up()���������£� : Ϊ�˲������㣬ֻ������һЩ��ı�sleepers��countֵ�IJ��裬������ѭ���������� : ���е�ԭ�� : ��������˼·����д��������� : down1: : count(0->-1),sleepers(0->1),sleepers-1+count(-1),count(-1),sleepers(1),���� : down2: : .................������ʡ�ԣ� -- [m[1;37m�� ��Դ:��UNIX��� apue.dhs.org��[FROM: 211.69.197.129][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