On Mon, May 23, 2005 at 04:53:09PM -0700, Dan Trainor wrote: > Hello - > > We've been investigating the scenario where a mutex is blocked or > improperly blocked. > > There is one processor on the system, a P4 3.0 w/HTT. > > I didn't figure that it would be a case with Fedora Core itself, but > like I said, we're running out of ideas, and we should at least check to > make sure that this wasn't a known problem or even a known bug. > > Thanks > -dant Last I noticed, the FAQ on Dave Butenhof's web site that shows the known ways to compile for pthreads on various systems showed that for linux you should use "-DREENTRANT" and that having done so you don't need to explicitly list "-lpthread". Have you tried using strace to see what it's doing? or perhaps setting breakpoints in gdb (or DDD) at suspicous points and seeing what state it is in when it get to those points? Fred > > linux user wrote: > >I've written some code that supports threads. It's possible that there is > >an issue in the code that causes a mutex to be blocked, or there might be > >busy waiting threads. Neither case is good. Do you have the code in > >question? > > > >How many processors on the system, and what type? > > > >It's unlikely an issue with Fedora Core, and more likely an issue with the > >code. > > > > > > > >>-----Original Message----- > >>From: fedora-list-bounces@xxxxxxxxxx > >>[mailto:fedora-list-bounces@xxxxxxxxxx]On Behalf Of Dan Trainor > >>Sent: Monday, May 23, 2005 2:16 PM > >>To: For users of Fedora Core releases > >>Subject: Threading on Fedora Core > >> > >> > >>Hello, all - > >> > >>I'm sorry that my question here is so broad, depending on many, many > >>factors and variables. However, I'm kindof out of options here. > >> > >>We're developing a piece of software in-house that utilizes threading. > >>This software also implements SSL via OpenSSL for end-to-end TLSv1 > >>security. The encryption itself works well, but the threading does not. > >> Every client that connects to this application, the time to process > >>goes up by about one second. > >> > >>I've managed to re-compile the openssl-0.9.7a-35 source RPM making it > >>explicitly compile in threaded support, un-installed the existing RPM, > >>and re-installed my custom RPM, but when running the test code listed in > >>OpenSSL's threads(3) man page to test for threads, we've seen that > >>threads are somehow disabled - even after rebuilding this RPM. I'm > >>almost totally lost here, as I am not a programmer. > >> > >>I guess what I'm asking here is if anyone knows of any other issues that > >>Fedora Core has had with threading applications, or if these symptoms > >>are just the result of shotty coding on our side? Has anyone ever ran > >>into any errors with threading on Fedora Core, specifically threading > >>with OpenSSL support? > >> > >>Thanks again for your time. Any kind of help at all would be great. > >>-dant > >> > >>-- > >>fedora-list mailing list > >>fedora-list@xxxxxxxxxx > >>To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list > >> > > > > > > > > > > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list -- ---- Fred Smith -- fredex@xxxxxxxxxxxxxxxxxxxxxx ----------------------------- "Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of heaven, but only he who does the will of my Father who is in heaven." ------------------------------ Matthew 7:21 (niv) -----------------------------
Attachment:
pgpEsGp9VRaEZ.pgp
Description: PGP signature