classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view


Ulf Wiger-4

Is there a good reason why the function global:is_lock_set/1
is not exported?

I just copied the function from global.erl into my own
module. I have a need for global locks spanning multiple
operations, where each operation asserts that there is a
surrounding lock. Global fits the bill well, except for the
lack of is_lock_set/1 (which does exist as an internal

I have not attached a patch. It seemed silly, since all
that's needed is adding is_lock_set/1 to the -export list.

Ulf Wiger, Senior Specialist,
   / / /   Architecture & Design of Carrier-Class Software
  / / /    Strategic Product & System Management
 / / /     Ericsson AB, Connectivity and Control Nodes