[haiku-development] Re: Public RWLocker

  • From: Adrien Destugues <pulkomandy@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 15 Dec 2015 07:14:01 +0100

On Mon, Dec 14, 2015 at 10:07:27PM -0600, looncraz wrote:

Howdy *,

I was playing around with some code this evening on Haiku and was just
wondering if there was anyone against moving RWLocker (found in MediaPlayer
and Icon-o-Matic) into private/support. Being able to use this in some
private areas of the interface kit (related to animation in this case) - and
undoubtedly in other places - would be quite useful, IMHO.

If it's already used by two apps, moving it to private (and the BPrivate
namespace) sounds fine. Copypasted code is never a good thing.

--
Adrien.


--The loon


Other related posts: