PERFORCE change 119527 for review

Ivan Voras ivoras at gmail.com
Wed May 9 18:31:45 UTC 2007


On 09/05/07, Garrett Cooper <yanegomi at gmail.com> wrote:

> It may work with programs under normal conditions but are the queues
> guaranteed to work with thread sychronization and other non-simple
> conditions? I'd think that the FreeBSD queue is closer to that.

No, they don't have any support for thread safety - they are intended
to be used with external locks if this is an issue. (at least the
FreeBSD ones - haven't tried it on other *BSD implementations).

> Furthermore, it's a requirement made by style(9) to use methods that
> aren't rolled by the implementor :).

+1


More information about the p4-projects mailing list