From a209817dd8467a04be869541e7c31216dc4b0a12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn-Egil=20Dahlberg?=
Date: Tue, 3 Sep 2013 17:11:24 +0200
Subject: erts: Document erl_driver interface lock names
---
erts/doc/src/erl_driver.xml | 78 ++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 77 insertions(+), 1 deletion(-)
diff --git a/erts/doc/src/erl_driver.xml b/erts/doc/src/erl_driver.xml
index efe0483b31..5cf0d2f47f 100644
--- a/erts/doc/src/erl_driver.xml
+++ b/erts/doc/src/erl_driver.xml
@@ -2889,8 +2889,84 @@ ERL_DRV_EXT2TERM char *buf, ErlDrvUInt len
beginning of this document.
-
+
+ char *erl_drv_cond_name(ErlDrvCond *cnd)
+ Get name of driver mutex.
+
+
+ Arguments:
+
+ cnd
+ - A pointer to an initialized condition.
+
+
+ Returns a pointer to the name of the condition.
+
+
+ This function is intended for debugging purposes only.
+
+
+
+
+
+ char *erl_drv_mutex_name(ErlDrvMutex *mtx)
+ Get name of driver mutex.
+
+
+ Arguments:
+
+ mtx
+ - A pointer to an initialized mutex.
+
+
+ Returns a pointer to the name of the mutex.
+
+
+ This function is intended for debugging purposes only.
+
+
+
+
+
+ char *erl_drv_rwlock_name(ErlDrvRWLock *rwlck)
+ Get name of driver mutex.
+
+
+ Arguments:
+
+ rwlck
+ - A pointer to an initialized r/w-lock.
+
+
+ Returns a pointer to the name of the r/w-lock.
+
+
+ This function is intended for debugging purposes only.
+
+
+
+
+
+ char *erl_drv_thread_name(ErlDrvTid tid)
+ Get name of driver mutex.
+
+
+ Arguments:
+
+ tid
+ - A thread identifier.
+
+
+ Returns a pointer to the name of the thread.
+
+
+ This function is intended for debugging purposes only.
+
+
+
+
+
SEE ALSO
driver_entry(3),
--
cgit v1.2.3