[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Universally-unique gensyms
From: |
Mark H Weaver |
Subject: |
Re: [PATCH] Universally-unique gensyms |
Date: |
Wed, 18 Jan 2012 18:30:06 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
Andy Wingo <address@hidden> writes:
> Sorry for asking a stupid question, but why is it that we want the
> gensym counter to be thread-local? Just to avoid the mutex? TBH I
> don't think it's that big of a point of contention. This risks
> devolution into bike-shed-landia tho...
It's a reasonable question. I don't feel strongly about it, but I
prefer lock-free programming where practical, and in this case there's
really no need for coordination between threads. Indeed, these UUIDs
are already designed to avoid collisions between multiple _sessions_
without coordination. So why bother with the lock?
Mark
- [PATCH] Universally-unique gensyms, Mark H Weaver, 2012/01/17
- Re: [PATCH] Universally-unique gensyms, Andy Wingo, 2012/01/17
- Re: [PATCH] Universally-unique gensyms, Andy Wingo, 2012/01/17
- Re: [PATCH] Universally-unique gensyms, Mark H Weaver, 2012/01/18
- Re: [PATCH] Universally-unique gensyms, Mark H Weaver, 2012/01/18
- Re: [PATCH] Universally-unique gensyms, Ludovic Courtès, 2012/01/18
- Re: [PATCH] Universally-unique gensyms, Ludovic Courtès, 2012/01/18
- Re: [PATCH] Universally-unique gensyms, Andy Wingo, 2012/01/18
- Re: [PATCH] Universally-unique gensyms, Ludovic Courtès, 2012/01/18
- Re: [PATCH] Universally-unique gensyms,
Mark H Weaver <=
- Re: [PATCH] Universally-unique gensyms, David Kastrup, 2012/01/18
- Re: [PATCH] Universally-unique gensyms, Mark H Weaver, 2012/01/18
- Re: [PATCH] Universally-unique gensyms, David Kastrup, 2012/01/19
- Re: [PATCH] Universally-unique gensyms, Mark H Weaver, 2012/01/19
- Re: [PATCH] Universally-unique gensyms, Mark H Weaver, 2012/01/19
- Re: [PATCH] Universally-unique gensyms, Mark H Weaver, 2012/01/18
- Re: [PATCH] Universally-unique gensyms, Ludovic Courtès, 2012/01/19