Open GoogleCodeExporter opened 9 years ago
It's more than just weird. It's pretty suboptimal in many case.
The only thing that prevents me from just dropping it is that it's fast-path is
inlined. Unlike with pthread_{lock,unlock}.
If you know of any library/code that has inlined and quick fastpath but correct
and well polished and robust slow path (just like in glibc's
pthread_lock/unlock), please share.
Thanks for the patch.
I'd prefer patch in git format-patch format. So that I can preserve your
authorship. I'll wait one week and merge patch in it's current form unless you
send me improved version.
Original comment by alkondratenko
on 14 Jun 2015 at 4:34
Original issue reported on code.google.com by
spo...@gmail.com
on 9 Jun 2015 at 9:42Attachments: