Re: BMidiEndPoint

Michael Pfeiffer <[email protected]> Thu, 10 Oct 2002 09:23:11 -0700
Newsgroups gmane.os.openbeos.midi
Message-ID <RQ4W062XA6YWB0JFNJ5ZHGTP86171UR.3da5a96f@name-sgc3h6xcx5>
10.10.2002 10:44:06, "Marcus Overhagen" <ml-j/[email protected]> 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 variable.

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

- Michael