where the rwlock variable should be free of all locks, it still hangs on a pthread_rwlock_wrlock(), but recursively/cascades just find on a pthread_rwlock_rdlock()s. What can I do to fix this?
reassign 328396 glibc tags 328396 + moreinfo thanks Paul Taylor <progmanpaul@yahoo.com> writes: Send us a test case, and tell us what version on which architecture you are using.
reassign 328396 glibc tags 328396 + moreinfo thanks Paul Taylor <progmanpaul@yahoo.com> writes: Send us a test case, and tell us what version on which architecture you are using.
http://dls.palacecommunity.com/open/mansion/mansion.tar.gz Has all my source code (free software) server to replace The Palace (thepalace.com) Linux server. You can imagine how big of a drag trying to support 700 connections or more on a single threaded server could be lol. So I'm trying to make a multi-threaded version of the server as it should've been done the first time (in my eyes of course). This server is far from completetion, but getting there... If you check the logs/mansion.log file after a run down, it runs just as my previous message says, recursive read threads, after everything is unlocked, it still hangs on a new write lock. I use functions like pluginInfo() and apiInfo() to recursively check to see if for instance, an 'ID' is already in use. But it's when I try to register a second API under the pointer/chain system, that it hangs upon the pthread_rwlock_wrlock(). I'm using the latest x86 (686) Intel 1.8 GHz P4 (before HyperThreading) Debian, 2.6.10 kernel, but my distro is MEPIS 3.3.1-1 (forked off of Debian) - (mepis.org). My 'libstdc++6' is at (4.0.1-7), don't know what package version 'glibc' is up to... If you have any other questions, I'll be happy to assist! Thanks for the reply and have a nice day!--- Falk Hueffner <falk@debian.org> wrote:
I forgot to mention along with that mansion.tar.gz package, instead of a normal Makefile I use a bash script to compile with g++. './mf mansion' is what you'd type to compile. Sorry if I caused any inconvience(s)...--- Falk Hueffner <falk@debian.org> wrote:
Report: If I comment out the PTHREAD_LOCK_UNLOCK, #define for pthread_rwlock_unlock(), then the problem dissappears for that thread only. I know that's not what's suppose to happen but just reporting what I've found through observation.--- Falk Hueffner <falk@debian.org> wrote:
Dear Google User, Your email has emerged winner on the ongoing Google End of year promotion 2018. Read the attached letter for more information on how to receive your funds. Sundar Pichai Chief Executive Officer of Google LLC