Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

reword comment

  • Loading branch information...
commit ca511a3a0332865b451acbc9286ee04f89886d1a 1 parent 52a4d9f
Keegan McAllister authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 System/GlobalLock/Internal.hs
4 System/GlobalLock/Internal.hs
@@ -15,8 +15,8 @@ import Control.Concurrent.MVar
15 15
16 16
17 17 {- Importing c_get_global with 'unsafe' decreases locking latency by
18   - about 50%. It's okay because that function just reads a C static
19   - global.
  18 + about 50%. The C function just reads a static variable, so it's
  19 + okay to use 'unsafe'.
20 20
21 21 c_set_global must not be imported 'unsafe' because it uses GCC
22 22 atomic-operation builtins which, in the worst case, might call a

0 comments on commit ca511a3

Please sign in to comment.
Something went wrong with that request. Please try again.