🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #21627

Re: synchronize ������ʲô��

#21627
From: ���˹ȵ�С���
Date: Fri, 21 Nov 2003 01:10
18 lines
1538 bytes
ʵ��֤��3��һ��
�� �� silveryyin (��Ұ���٣�����С�̺���) �Ĵ������ᵽ: ��
: 1��������ʲô������
: 1.5 synchronized func1()
: func1()�������ж��ʵ��ͬʱ���ʣ�������Ҷ���
: 2��synchronized func1()
: synchronized func2()
: ���⣺�Dz��Dz�����ͬʱ�������������������ǻ���ô��
: 3��synchronized(flag1)(procedure1())
: synchronized(flag1)(procedure2()),
: ���⣺procedure1��procedure2������
: �����ָ�㡣


--

    û��û��
�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 211.80.44.159]
Technical Details
Message-ID: <49LRGF$ASP@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,c9ab9e1b3e5ada2a
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-11-20 17:11:10 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTU
From: minnow.bbs@bbs.sjtu.edu.cn (���˹ȵ�С���)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: synchronize ������ʲô��
Date: 21 Nov 2003 01:10:55 GMT
Organization: ��ˮ˼Դ
Message-ID: <49LRGF$ASP@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1069377039.A