gabr42/OmniThreadLibrary

AV Setting up Parallel.For<T> on 64 Bit

Closed this issue · 1 comments

Works most of the time but sometimes get an AV when setting up Parallel.For loop. We've only used them over an array of T.

Traced this to line 3755 of OtlCommon.pas

The definition of affMask should be NativeUInt not DWORD to match the return value of the 'Mask' function.

Thanks,

-- Peter.

Already fixed; forgot to close the ticket.