can't release mutex

2007-01-27 Thread Wakan
Hi, I'm using commoncpp library in a project that includes a multithread server that can accept many tcp connection and each connection generates a thread. In this server I'm using a thirdy party proprietary library (compiled), that (as the producer says) can't work in multithread environment.

RE: can't release mutex

2007-01-27 Thread Conrad T. Pino
You're on the right track. Please pardon my rusty recollection syntax. Revise: mutex.enterMutex(); to a form that accepts a timeout. This example won't compile: const int timeout = 500; while (1) { if ( isPending( pendingInput ) ) {

Re: can't release mutex

2007-01-27 Thread Wakan
ections, soit still works, but each thread can't enter in the mutex proteced piece of code. I'm thinking about something, like a timeout, that exits the mutex after a time, if the thread is not exiting... Can someone help me to resolve this problem? Are there other solutions? Thanks in ad

Fwd: Bug#399482: libcommoncpp2: build process cannot find ldconfig

2007-01-27 Thread Mark Purcell
David, I have received a report about your install-local-data rule in libcommoncpp2. Apparently you have made some assumptions about the target directory, which isn't always correct. The full bug report is available at http://bugs.debian.org/399482. Could I also ask you to maintain the Cc: in

Fwd: Bug#352123: libcommoncpp2-dev: slog should not cut after 128 bytes

2007-01-27 Thread Mark Purcell
-- Forwarded Message -- Subject: Fwd: Bug#352123: libcommoncpp2-dev: slog should not cut after 128 bytes Date: Friday 10 February 2006 11:07 From: Mark Purcell <[EMAIL PROTECTED]> To: [email protected] Cc: [EMAIL PROTECTED], Stephan A Suerken <[EMAIL PROTECTED]> David, P

libcommoncpp2-1.5-0 version 1.5.3-1 is ABI incompatible with version 1.5.1-4

2007-01-27 Thread Mark Purcell
David, It would appear that commoncpp2-1.5.3 isn't ABI compatible with previous releases due to changes with ost::Thread::isRunning http://bugs.debian.org/402009 Mark -- Forwarded Message -- Subject: Bug#402009: #402009 Date: Thursday 07 December 2006 14:35 From: Mikael Mag

commoncpp 1.5.0 doesn't build with fstack-protector

2007-01-27 Thread Alan Mizrahi
Hello, Unfortunately commoncpp2-1.5.0 doesn't build when using -fstack-protector gcc flags. The stack protector flags are supported in gcc 4.1.1, could you verify this? Regards, -- Alan Mizrahi ___ Bug-commoncpp mailing list [email protected] h

error compiling Common C++ under solaris

2007-01-27 Thread Mario Rodriguez Villanea
I'm using Common C++ in solaris, but when I include math.h I got the error below. If I compile my application under linux the application works fine. The problem is that math.h defines an struct named exception which conflicts with the #include declared in exception.h. Any suggestion ?

error compiling Common C++ under Solaris

2007-01-27 Thread Mario Rodriguez
I'm using Common C++ in solaris, but when I include math.h I got the error below. If I compile my application under linux the application works fine. The problem is that math.h defines an struct named exception which conflicts with the #include declared in exception.h. Any suggestion ? g++ -

Re: can't release mutex

2007-01-27 Thread David Sugar
I think what he really wants to do is use the Common C++ Semaphore with a count of 1, since semaphore can block with a "timeout", and with a "1" count in effect acts as a mutex... The larger question though of what to do with the stuck thread, perhaps from a broken library, is important also. He

Re: Fwd: Bug#352123: libcommoncpp2-dev: slog should not cut after 128 bytes

2007-01-27 Thread David Sugar
This will break abi, so I will do it for a new 1.6 release set... Mark Purcell wrote: > > -- Forwarded Message -- > > Subject: Fwd: Bug#352123: libcommoncpp2-dev: slog should not cut after 128 > bytes > Date: Friday 10 February 2006 11:07 > From: Mark Purcell <[EMAIL PROTECTED

Re: Fwd: Bug#399482: libcommoncpp2: build process cannot find ldconfig

2007-01-27 Thread David Sugar
This was already removed in 1.5.3... Mark Purcell wrote: > David, > > I have received a report about your install-local-data rule in libcommoncpp2. > > Apparently you have made some assumptions about the target directory, which > isn't always correct. > > The full bug report is available at ht

Re: libcommoncpp2-1.5-0 version 1.5.3-1 is ABI incompatible with version 1.5.1-4

2007-01-27 Thread David Sugar
ick...we should have changed the abi rev level then...it got missed... Mark Purcell wrote: > David, > > It would appear that commoncpp2-1.5.3 isn't ABI compatible with previous > releases due to changes with ost::Thread::isRunning > > http://bugs.debian.org/402009 > > Mark > > -- Fo

Re: commoncpp 1.5.0 doesn't build with fstack-protector

2007-01-27 Thread David Sugar
I will see if this is still true with 1.5.5... Alan Mizrahi wrote: > Hello, > > Unfortunately commoncpp2-1.5.0 doesn't build when using -fstack-protector gcc > flags. > The stack protector flags are supported in gcc 4.1.1, could you verify this? > > Regards, > begin:vcard fn:David Sugar n:Suga