[Git][ghc/ghc][wip/ghc-9.6] Deleted 1 commit: rts/ipe: Fix unused lock warning

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Mon Dec 19 16:26:19 UTC 2022



Ben Gamari pushed to branch wip/ghc-9.6 at Glasgow Haskell Compiler / GHC


WARNING: The push did not contain any new commits, but force pushed to delete the commits and changes below.


Deleted commits:
82e65ea7 by Ben Gamari at 2022-12-19T11:22:30-05:00
rts/ipe: Fix unused lock warning

- - - - -


1 changed file:

- rts/IPE.c


Changes:

=====================================
rts/IPE.c
=====================================
@@ -57,7 +57,10 @@ this all IPE lists of all IpeBufferListNode are traversed to insert all IPEs.
 After the content of a IpeBufferListNode has been inserted, it's freed.
 */
 
+#if defined(THREADED_RTS)
 static Mutex ipeMapLock;
+#endif
+// Protected by ipeMapLock
 static HashTable *ipeMap = NULL;
 
 // Accessed atomically



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/82e65ea77077bee3080115c5b48430be952ab25d

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/82e65ea77077bee3080115c5b48430be952ab25d
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20221219/5fc9b250/attachment-0001.html>


More information about the ghc-commits mailing list