iterators+multithreading on win32

Stephen F. Booth me at
Sun Mar 6 00:11:56 CET 2011

I'm not familiar with atomic operations on Windows or Linux, but I've
attached my first stab at a patch that makes RefCounter use atomic increment
and decrement operations on OS X.

I doubt this will take care of everything, but it should be a start.


On Sat, Mar 5, 2011 at 2:36 PM, Michael Pyne <mpyne at> wrote:

> On Saturday, March 05, 2011 13:21:21 James O. wrote:
> > Correct me if I'm wrong, but since hard drives can't read from two places
> at
> > once are speed increases actually realized from trying to multithread
> reads
> > with TagLib?
> Well, hard disks might surprise you (there are multiple physical platters
> typically, there's no theoretical reason it couldn't support streaming
> multiple files over a bus with a large enough transfer rate).
> In addition it is very easy for the OS and hard disk both to perform read-
> ahead and essentially read and return 3 files at a time (if they're laid
> out
> on the disk properly).
> It's the kind of thing you'd actually want to profile if at all possible
> before assuming that there would be no change.
> Regards,
>  - Michael Pyne
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atomics_osx.diff
Type: application/octet-stream
Size: 888 bytes
Desc: not available
Url : 

More information about the taglib-devel mailing list