Set the AST_RWLOCK_INIT_VALUE to the PTHREAD_RWLOCK_INIT_VALUE if it is available...
authorJoshua Colp <jcolp@digium.com>
Thu, 2 Nov 2006 16:51:27 +0000 (16:51 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 2 Nov 2006 16:51:27 +0000 (16:51 +0000)
commitae00c6d3faaf5796eb0057161dca1f099d520409
tree108667f516e7726d0cd89d4d14a1f6d67ecd29bd
parentd810d52606abca7b740af988c5fb15ced1217c5f
Set the AST_RWLOCK_INIT_VALUE to the PTHREAD_RWLOCK_INIT_VALUE if it is available, that way outside stuff can determine whether to use a constructor or deconstructor for initialization instead of using the init value.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/lock.h