bug-kawa
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-kawa] [bugs #11801] fluid-let problems in the presence of threads


From: Per Bothner
Subject: [Bug-kawa] [bugs #11801] fluid-let problems in the presence of threads
Date: Sat, 12 Feb 2005 07:53:43 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020

Update of bugs #11801 (project kawa):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #4:

I checked in a fix.  I use a ThreadLocation object (which contains a
ThreadLocal) to map a key and the current thread to a thread-specific
Location.

This is equivalent (more or less) to looking up the key in the current
thread's environment for each access, but we cache a thread-specific Location
handle in a ThreadLocal.

This is a less efficient than the previous solution (where we cache the
thread-specific Location) in a field, but (as discussed in comment #3) that
solution is problematical when multiple threads are involved.  Some
optimizations may be possible later, if it seems worthwhile.

    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11801>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]