[openbeos-midi] Re: BMidiEndPoint

  • From: Michael Pfeiffer <michael.pfeiffer@xxxxxxxxx>
  • To: openbeos-midi@xxxxxxxxxxxxx
  • Date: Thu, 10 Oct 2002 09:23:11 -0700

10.10.2002 10:44:06, "Marcus Overhagen" <ml@xxxxxxxxxxxx> wrote:

>Michael Pfeiffer wrote:
>> For an implementation with atomic=5Fadd see "class Object" in
>> BeUtils.h in directory current/src/servers/print:
>> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/open-beos/current/src/servers/print/BeUtils.h=3Frev=3D1.2&content-type=3Dtext/vnd.viewcvs-markup

>That implementation is NOT correct. You do a non-atomic read of the fRefCount 

It is correct with regard to the comment about MT-safeness included in the 
header file.

- Michael

Other related posts: