Re: New pthreads-w32 releases available: versions 2.7.0 and 1.11.0
> We always observe this project!
> Best Regards,
> James Mansion 写道:
>> Quiet round here - is this still current?
>>> Announcing two new releases of pthreads-w32:-
Not sure why I didn't see the OPs message, however ... there have been a
couple of fairly small changes to the package, but no bug fixes or
changes that would affect existing applications. Nevertheless, it's
probably time for another release.
There has been a portability addition that has been placed into CVS:
From the ChangeLog:
2006-01-25 Prashant Thakre <prashant.thakre at gmail.com>
An issue that has been raised, but has not resulted in any changes in
the code yet, had to do with pthread_barrier_wait(). The following entry
has been placed in the BUGS file, and a note in the Known Bugs section
of the relevant manual pages (also in CVS):
4. pthread_barrier_wait() can deadlock if the number of potential calling
threads for a particular barrier is greater than the barrier count parameter
given to pthread_barrier_init() for that barrier.
This is due to the very lightweight implementation of pthread-win32
To cope with more than "count" possible waiters, barriers must effectively
implement all the same safeguards as condition variables, making them much
"heavier" than at present.
The workaround is to ensure that no more than "count" threads attempt to
at the barrier.