bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Piostreams! Now with new identifying thread info!


From: Daniel E Baumann
Subject: Piostreams! Now with new identifying thread info!
Date: Thu, 16 Jan 2003 00:33:27 -0600
User-agent: Mutt/1.5.3i

Here's a patch which include the previous fixes and with new
functionality that prints out identifying thread info.

The format is (shamelessly ripped off from gdb):

[Thread <tid> (LWP <pid>)]: my regular stream output here.

Compile and run the pio.cpp demo program to see this funky stuff in
action. I probably should say that this was a quick hack that I
did. Ideally it should probably not be compiled in unless you compile
cc++ with debuggin' symbols. Also, I may want to add more to the
"header", but it's getting late here and I want to use this
functionality to find a deadlock in some code :-o. So enjoy :).

Dan
-- 
And if cynics ridicule freedom, ridicule community...if ``hard nosed 
realists'' say that profit is the only ideal...just ignore them, and use 
copyleft all the same.
      -- RMS

Was I helpful?  Let others know: 
  http://svcs.affero.net/rm.php?r=chillywilly




reply via email to

[Prev in Thread] Current Thread [Next in Thread]