[GHC] #693: dynamic locking

GHC ghc-devs at haskell.org
Thu Jul 11 02:09:36 CEST 2013


#693: dynamic locking
----------------------------+----------------------------------------------
        Reporter:           |            Owner:  simonmar
  simonmar                  |           Status:  closed
            Type:  task     |        Milestone:  7.8.1
        Priority:  low      |          Version:  6.4.1
       Component:  Runtime  |         Keywords:
  System                    |     Architecture:  Unknown/Multiple
      Resolution:  fixed    |       Difficulty:  Moderate (less than a day)
Operating System:           |       Blocked By:
  Unknown/Multiple          |  Related Tickets:
 Type of failure:           |
  None/Unknown              |
       Test Case:  N/A      |
        Blocking:           |
----------------------------+----------------------------------------------

Comment (by ezyang):

 OK, I adjusted this a little bit:

 {{{
 commit 3a8c50111d5a92594f5c2f1b2b96a7c1cfab82eb
 Author: Edward Z. Yang <ezyang at mit.edu>
 Date:   Wed Jul 10 13:10:32 2013 -0700

     Add LOCK_CLOSURE macro for use in C--, which inlines the capability
 check.

     This patch also tweaks lockClosure to be INLINE_HEADER, so C-- clients
     don't accidentally use them and updates some other code which locks
 closures
     to do the capability check.

     Signed-off-by: Edward Z. Yang <ezyang at mit.edu>

 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/693#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list