I tend to agree, in general, semaphores should be used to protect "methods" rather than "objects". the method may read/write certain documents or access IP variables, but that is not the most important issue.
some singleton methods may do neither, but yet require protection. > 2016/11/01 14:03、Kirk Brooks <lists.k...@gmail.com> のメール: > So I'm concluding the whole variable locking fetish is unnecessary. 宮古 啓介 セールス・エンジニア 株式会社フォーディー・ジャパン 〒150-0043 東京都渋谷区道玄坂1-10-2 渋谷THビル6F Tel: 03-6427-8441 Fax: 03-6427-8449 keisuke.miy...@4d.com www.4D.com/JP ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************