From mbresnah@visi.com Mon May 06 22:25:29 2002
Received: from conn.mc.mpls.visi.com ([208.42.156.2])
	by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian))
	id 174srs-0000WO-00
	for <bug-commoncpp@gnu.org>; Mon, 06 May 2002 20:30:12 -0400
Received: from anelginanalas (mbresnah.dsl.visi.com [209.98.224.51])
	by conn.mc.mpls.visi.com (Postfix) with SMTP id A992F8125
	for <bug-commoncpp@gnu.org>; Mon,  6 May 2002 19:30:11 -0500 (CDT)
From: "Mike Bresnahan" <mbresnah@visi.com>
To: <bug-commoncpp@gnu.org>
Subject: Bug Report and Patch for 2-0.99.3 WIN32
Date: Mon, 6 May 2002 19:30:22 -0500
Message-ID: <EKEJKOHPOIIALFJMKEIGKELHDKAA.mbresnah@visi.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Importance: Normal
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.9
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

I ran into a compilation error compiling GNU Common C++ 2-0.99.3 with Visual
C++ 6.0 on Windows 2000 SP2.  Below is the patch I applied to fix the
problem.  I have not tested the patch extensively.

*** commoncpp2-0.99.3/src/socket.cpp    Mon May  6 19:25:18 2002
--- tmp/commoncpp2-0.99.3/src/socket.cpp        Fri Mar 22 09:44:20 2002
***************
*** 953,963 ****
                        break;
                }

! #ifdef WIN32
!               if( WSAGetLastError() == WSAEINPROGRESS)
! #else
!               if(errno == EINPROGRESS)
! #endif
                {
                        FD_ZERO(&fds);
                        FD_SET(so, &fds);
--- 953,959 ----
                        break;
                }

!               if(errno == EINPROGRESS)
                {
                        FD_ZERO(&fds);
                        FD_SET(so, &fds);



From danielb@obfuscation.dyndns.org Tue May 14 23:05:41 2002
Received: from mkc-162-201.kc.rr.com ([24.94.162.201] helo=smtp2.rdc-kc.rr.com)
	by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian))
	id 177p6h-0002sO-00
	for <bug-commoncpp@gnu.org>; Tue, 14 May 2002 23:05:40 -0400
Received: from obfuscation.dyndns.org (mke-65-29-142-117.wi.rr.com [65.29.142.117])
	by smtp2.rdc-kc.rr.com (8.12.2/8.12.2) with ESMTP id g4F35cri024138
	for <bug-commoncpp@gnu.org>; Tue, 14 May 2002 22:05:39 -0500 (CDT)
Received: from danielb by obfuscation.dyndns.org with local (Exim 3.35 #1 (Debian))
	id 177p6g-0005sk-00
	for <bug-commoncpp@gnu.org>; Tue, 14 May 2002 22:05:38 -0500
Date: Tue, 14 May 2002 22:05:38 -0500
From: Daniel E Baumann <danielb@freedevelopers.net>
To: bug-commoncpp@gnu.org
Subject: Thread safe I/O streams implementation questions
Message-ID: <20020515030538.GA22577@obfuscation.dyndns.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.9
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

Hello all, I am now hacking on some thread-safe iostreams for GNU
Common C++ and in the processing learning a LOT about c++ i/o
streams. I have been struggling lately with a few issues and I was
wondering if you guys could provide some of your guidance and
input. The main thing is when to lock the streams and/or buffer. I am
wondrring what does one make atomic, do you do it at each operator<<
or operator>> call or should you wait until the thread flushes the
buffer with and 'endl' or 'flush' manipulator call in the stream? I
also found this URL to be very helpful, but of course there's that
condition they mention where if 2 threads are doing:

http://www.roguewave.com/support/docs/SourcePro/stdlibug/44-2.cfm

Thread1:
pout << "hello world" << endl; 

Thread2:
cout << "hello world" << endl;

Thread 1 could be preempted and hence the output is not atmoic with
respect to the string and the newline. So should thread safe streams
be atomic wrt all output plus until they flush the buffer or should
they be allowed to interleave? I.e., is the Rogue Wave method good
enough? Also I would like to add identifier information for each
stream like "[pid][tid] hello world" so you know where/which thread
the i/o is coming from.

Please let me know what you think.

Dan
-- 
Daniel E Baumann      baumannd@msoe.edu

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


From chaodeng@yahoo.com Wed May 15 17:28:43 2002
Received: from web10406.mail.yahoo.com ([216.136.130.98])
	by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian))
	id 1786KB-0006DE-00
	for <bug-commoncpp@gnu.org>; Wed, 15 May 2002 17:28:43 -0400
Message-ID: <20020515212842.70483.qmail@web10406.mail.yahoo.com>
Received: from [216.85.31.70] by web10406.mail.yahoo.com via HTTP; Wed, 15 May 2002 14:28:42 PDT
Date: Wed, 15 May 2002 14:28:42 -0700 (PDT)
From: chao deng <chaodeng@yahoo.com>
To: bug-commoncpp@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: (no subject)
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.9
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

Did anyone port commoncpp to Solaris by using Sun's
Fonte C++ compiler instead of gnu g++? Any help will
be appreciated.

Regards,

Chao

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com


From dyfet@ostel.com Wed May 15 18:47:09 2002
Received: from dsl-65-188-113-57.telocity.com ([65.188.113.57] helo=home.sys)
	by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian))
	id 1787Y4-00060S-00
	for <bug-commoncpp@gnu.org>; Wed, 15 May 2002 18:47:08 -0400
Received: from ostel.com (home.sys [172.16.1.254])
	by home.sys (Postfix) with ESMTP
	id 2EF571FD1A; Wed, 15 May 2002 19:15:17 -0400 (EDT)
Message-ID: <3CE2EC05.1080302@ostel.com>
Date: Wed, 15 May 2002 19:15:17 -0400
From: David Sugar <dyfet@ostel.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204
X-Accept-Language: en-us
MIME-Version: 1.0
To: chao deng <chaodeng@yahoo.com>
Cc: bug-commoncpp@gnu.org
Subject: Re: (no subject)
References: <20020515212842.70483.qmail@web10406.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.9
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

I do not know if this has been done, but I see no reason it could not 
be.  There have been people who have ported Common C++ to Solaris, but I 
believe generally they had been using gcc.

David

chao deng wrote:

>Did anyone port commoncpp to Solaris by using Sun's
>Fonte C++ compiler instead of gnu g++? Any help will
>be appreciated.
>
>Regards,
>
>Chao
>
>__________________________________________________
>Do You Yahoo!?
>LAUNCH - Your Yahoo! Music Experience
>http://launch.yahoo.com
>
>_______________________________________________
>Bug-commoncpp mailing list
>Bug-commoncpp@gnu.org
>http://mail.gnu.org/mailman/listinfo/bug-commoncpp
>




From chaodeng@yahoo.com Wed May 15 21:08:55 2002
Received: from web10407.mail.yahoo.com ([216.136.130.99])
	by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian))
	id 1789lH-0000mT-00
	for <bug-commoncpp@gnu.org>; Wed, 15 May 2002 21:08:55 -0400
Message-ID: <20020516010854.25814.qmail@web10407.mail.yahoo.com>
Received: from [216.85.31.70] by web10407.mail.yahoo.com via HTTP; Wed, 15 May 2002 18:08:54 PDT
Date: Wed, 15 May 2002 18:08:54 -0700 (PDT)
From: chao deng <chaodeng@yahoo.com>
To: bug-commoncpp@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: (no subject)
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.9
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

The problem is when I tried to run configure script 
as follow,

env CC=/vox/tools/SUNWspro/bin/../WS6U1/bin/cc
CC=/vox/tools/SUNWspro/bin/../WS6U1/bin/CC configure
-prefix=../usr_local

I got dumped configure results like 

creating cache ./config.cache
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking for gcc...
/vox/tools/SUNWspro/bin/../WS6U1/bin/CC
checking whether the C compiler
(/vox/tools/SUNWspro/bin/../WS6U1/bin/CC  ) works...
yes
checking whether the C compiler
(/vox/tools/SUNWspro/bin/../WS6U1/bin/CC  ) is a
cross-compiler... no
checking whether we are using GNU C... no
checking whether
/vox/tools/SUNWspro/bin/../WS6U1/bin/CC accepts -g...
yes
checking how to run the C preprocessor...
/vox/tools/SUNWspro/bin/../WS6U1/bin/CC -E
checking for POSIXized ISC... no
checking for minix/config.h... no
checking for MSC environment... ./configure: cl: not
found
no
checking for a BSD compatible install...
config/install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking for ranlib... ranlib
checking for non-GNU ld... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld...
no
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
updating cache ./config.cache
checking whether we are using GNU C... no
checking for object suffix... o
checking for executable suffix... no
checking for /vox/tools/SUNWspro/bin/../WS6U1/bin/CC
option to produce PIC... -KPIC
checking if /vox/tools/SUNWspro/bin/../WS6U1/bin/CC
PIC flag -KPIC works... yes
checking if /vox/tools/SUNWspro/bin/../WS6U1/bin/CC
supports -c -o file.o... yes
checking if /vox/tools/SUNWspro/bin/../WS6U1/bin/CC
supports -c -o file.lo... yes
checking if /vox/tools/SUNWspro/bin/../WS6U1/bin/CC
static flag -Bstatic works... -Bstatic
checking if the linker (/usr/ccs/bin/ld) is GNU ld...
no
checking whether the linker (/usr/ccs/bin/ld) supports
shared libraries... yes
checking command to parse /usr/ccs/bin/nm -p output...
ok
checking how to hardcode library paths into
programs... immediate
checking for /usr/ccs/bin/ld option to reload object
files... -r
checking dynamic linker characteristics... solaris2.8
ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for genorated automake files... found
checking whether to enable maintainer-specific
portions of Makefiles... no
checking for Win32 gnu environment... no
checking whether system meets Posix.1... yes
checking for endian.h... no
checking for fcntl.h... yes
checking for sys/fcntl.h... yes
checking for sys/types.h... yes
checking for sigaction... no
checking for setitimer... no
checking for bsd/signal.h... no
checking return type of signal handlers... void
checking whether sigwait has 2 arguments... yes
checking for strcasecmp... no
checking for strdup... no
checking for snprintf... no
checking for memmove... no
checking for strings.h... yes
checking for getopt.h... no
checking for getopt_long in -lgnugetopt... no
checking for getopt_long... no
checking for dlfcn.h... yes
checking for dlopen in -ldl... no
checking for dlopen in -lc... no
checking whether time.h and sys/time.h may both be
included... yes
checking for sys/time.h... yes
checking for features.h... no
checking for pthread.h... yes
checking for sys/atomic.h... yes
checking for atomic_t... no
checking for thread.h... yes
checking whether
/vox/tools/SUNWspro/bin/../WS6U1/bin/CC accepts
-pthread... no
checking whether
/vox/tools/SUNWspro/bin/../WS6U1/bin/CC accepts
-mthreads... no
checking for pthread_self in -lc_r... no
checking for pthread_self in -lpthread... no
checking for pthread_kill in -lpthread... no
checking for pthread_self in -lpthreads... no
checking for pthread_self in -lthread... no
checking for pthread_self in -lgthreads... no
checking for pthread_self in -lcma... no
checking for pthread_self in -lc... no
configure: error: no library for posix threads found!

Sounds like it can't find posix threads library, I
tried to modify the configure script and got no luck
at all. I also tried to build my own make files from
scratch and that needs more work. I hope to port this
in 1-2 days effort. Would anyone let me know what I
should start to save time?

Regards,

Chao


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com


From dyfet@ostel.com Wed May 15 21:17:05 2002
Received: from dsl-65-188-113-57.telocity.com ([65.188.113.57] helo=home.sys)
	by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian))
	id 1789tA-0001KW-00
	for <bug-commoncpp@gnu.org>; Wed, 15 May 2002 21:17:04 -0400
Received: by home.sys (Postfix, from userid 501)
	id 7F68D1F9D5; Wed, 15 May 2002 21:45:13 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
	by home.sys (Postfix) with ESMTP
	id 714481F9D3; Wed, 15 May 2002 21:45:13 -0400 (EDT)
Date: Wed, 15 May 2002 21:45:13 -0400 (EDT)
From: David Sugar <dyfet@ostel.com>
X-X-Sender: dyfet@home.sys
To: chao deng <chaodeng@yahoo.com>
Cc: bug-commoncpp@gnu.org
Subject: Re: (no subject)
In-Reply-To: <20020516010854.25814.qmail@web10407.mail.yahoo.com>
Message-ID: <Pine.LNX.4.44.0205152143470.11558-100000@home.sys>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.9
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

If I were to make a guess, I think it is a problem in the 
autoconf/configure script, in that it cannot seem to identify object 
symbols in libraries or perform the standard "linker" tests.

One thing you might try is this:

./reconfig
./configure

if you have or install automake, you can use reconfig to regenerate the 
"configure" script, and if your autoconf is more correct for Solaris, it 
may work better...

On Wed, 15 May 2002, chao deng wrote:

> The problem is when I tried to run configure script 
> as follow,
> 
> env CC=/vox/tools/SUNWspro/bin/../WS6U1/bin/cc
> CC=/vox/tools/SUNWspro/bin/../WS6U1/bin/CC configure
> -prefix=../usr_local
> 
> I got dumped configure results like 
> 
> creating cache ./config.cache
> checking host system type... sparc-sun-solaris2.8
> checking target system type... sparc-sun-solaris2.8
> checking build system type... sparc-sun-solaris2.8
> checking for gcc...
> /vox/tools/SUNWspro/bin/../WS6U1/bin/CC
> checking whether the C compiler
> (/vox/tools/SUNWspro/bin/../WS6U1/bin/CC  ) works...
> yes
> checking whether the C compiler
> (/vox/tools/SUNWspro/bin/../WS6U1/bin/CC  ) is a
> cross-compiler... no
> checking whether we are using GNU C... no
> checking whether
> /vox/tools/SUNWspro/bin/../WS6U1/bin/CC accepts -g...
> yes
> checking how to run the C preprocessor...
> /vox/tools/SUNWspro/bin/../WS6U1/bin/CC -E
> checking for POSIXized ISC... no
> checking for minix/config.h... no
> checking for MSC environment... ./configure: cl: not
> found
> no
> checking for a BSD compatible install...
> config/install-sh -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... missing
> checking for working autoconf... found
> checking for working automake... missing
> checking for working autoheader... found
> checking for working makeinfo... missing
> checking for ranlib... ranlib
> checking for non-GNU ld... /usr/ccs/bin/ld
> checking if the linker (/usr/ccs/bin/ld) is GNU ld...
> no
> checking for BSD-compatible nm... /usr/ccs/bin/nm -p
> checking whether ln -s works... yes
> updating cache ./config.cache
> checking whether we are using GNU C... no
> checking for object suffix... o
> checking for executable suffix... no
> checking for /vox/tools/SUNWspro/bin/../WS6U1/bin/CC
> option to produce PIC... -KPIC
> checking if /vox/tools/SUNWspro/bin/../WS6U1/bin/CC
> PIC flag -KPIC works... yes
> checking if /vox/tools/SUNWspro/bin/../WS6U1/bin/CC
> supports -c -o file.o... yes
> checking if /vox/tools/SUNWspro/bin/../WS6U1/bin/CC
> supports -c -o file.lo... yes
> checking if /vox/tools/SUNWspro/bin/../WS6U1/bin/CC
> static flag -Bstatic works... -Bstatic
> checking if the linker (/usr/ccs/bin/ld) is GNU ld...
> no
> checking whether the linker (/usr/ccs/bin/ld) supports
> shared libraries... yes
> checking command to parse /usr/ccs/bin/nm -p output...
> ok
> checking how to hardcode library paths into
> programs... immediate
> checking for /usr/ccs/bin/ld option to reload object
> files... -r
> checking dynamic linker characteristics... solaris2.8
> ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for objdir... .libs
> creating libtool
> loading cache ./config.cache
> checking for genorated automake files... found
> checking whether to enable maintainer-specific
> portions of Makefiles... no
> checking for Win32 gnu environment... no
> checking whether system meets Posix.1... yes
> checking for endian.h... no
> checking for fcntl.h... yes
> checking for sys/fcntl.h... yes
> checking for sys/types.h... yes
> checking for sigaction... no
> checking for setitimer... no
> checking for bsd/signal.h... no
> checking return type of signal handlers... void
> checking whether sigwait has 2 arguments... yes
> checking for strcasecmp... no
> checking for strdup... no
> checking for snprintf... no
> checking for memmove... no
> checking for strings.h... yes
> checking for getopt.h... no
> checking for getopt_long in -lgnugetopt... no
> checking for getopt_long... no
> checking for dlfcn.h... yes
> checking for dlopen in -ldl... no
> checking for dlopen in -lc... no
> checking whether time.h and sys/time.h may both be
> included... yes
> checking for sys/time.h... yes
> checking for features.h... no
> checking for pthread.h... yes
> checking for sys/atomic.h... yes
> checking for atomic_t... no
> checking for thread.h... yes
> checking whether
> /vox/tools/SUNWspro/bin/../WS6U1/bin/CC accepts
> -pthread... no
> checking whether
> /vox/tools/SUNWspro/bin/../WS6U1/bin/CC accepts
> -mthreads... no
> checking for pthread_self in -lc_r... no
> checking for pthread_self in -lpthread... no
> checking for pthread_kill in -lpthread... no
> checking for pthread_self in -lpthreads... no
> checking for pthread_self in -lthread... no
> checking for pthread_self in -lgthreads... no
> checking for pthread_self in -lcma... no
> checking for pthread_self in -lc... no
> configure: error: no library for posix threads found!
> 
> Sounds like it can't find posix threads library, I
> tried to modify the configure script and got no luck
> at all. I also tried to build my own make files from
> scratch and that needs more work. I hope to port this
> in 1-2 days effort. Would anyone let me know what I
> should start to save time?
> 
> Regards,
> 
> Chao
> 
> 
> __________________________________________________
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp
> 



From mad@brasmap.com.br Fri May 17 14:24:53 2002
Received: from acate.com.br ([200.215.17.89])
	by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian))
	id 178mPM-0006A9-00
	for <bug-commoncpp@gnu.org>; Fri, 17 May 2002 14:24:52 -0400
Received: (qmail 4914 invoked from network); 17 May 2002 18:24:47 -0000
Received: from unknown (HELO cli004.brasmap) (192.168.1.13)
  by 0 with SMTP; 17 May 2002 18:24:38 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
	by cli004.brasmap (8.11.1/8.11.1) with ESMTP id g4HIOXG09583
	for <bug-commoncpp@gnu.org>; Fri, 17 May 2002 15:24:35 -0300
Date: Fri, 17 May 2002 15:24:32 -0300 (BRT)
From: Marcelo Dalmas <mad@brasmap.com.br>
X-X-Sender: mad@cli004.brasmap
To: bug-commoncpp@gnu.org
Subject: Real Time Thread
Message-ID: <Pine.LNX.4.40.0205171513220.9572-102000@cli004.brasmap>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="-1463809014-968788267-1021659872=:9572"
X-BlackHole: Version 0.9.72 by Chris Kennedy (C) 2002
X-BlackHole-Sender: (null)
X-BlackHole-Relay: 192.168.1.13
X-BlackHole-Match: No Match
X-BlackHole-Info: (null)
X-BlackHole-Virus-Status: Clean
X-BlackHole-Virus-Type: (null)
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.9
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---1463809014-968788267-1021659872=:9572
Content-Type: TEXT/PLAIN; charset=US-ASCII


Hi all!

I'm sending a little modification in thread.h and thread.cpp to use
real-time threads in GNU/Linux.


Marcelo Dalmas
BRASMAP Sistemas
www.brasmap.com.br
Fone/Fax: (48) 333-2218 ramal 2114

---1463809014-968788267-1021659872=:9572
Content-Type: APPLICATION/octet-stream; name="patch-thread.gz"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.40.0205171524320.9572@cli004.brasmap>
Content-Description: 
Content-Disposition: attachment; filename="patch-thread.gz"

H4sICPlH5TwAA3BhdGNoLXJ0dGhyZWFkAK1TXW+bMBR9hl9xpUkblJDwkTYp
6aZoXSrtIWuVVVr3FFFjGmtgEDZbsyr/fdcGmrCtWycNCdk+HB8fju9NWJqC
W4PrVpTUlWBfKZAizwtOyjJwveHp6TAcMU6yOqEjQhxnJDcVjZPh5leem8fJ
77mm67rP1TUuKgbLeAv+BPzjyJtG4wACzwtMx3H+5dCe0DgaT6LQb4Tmc3B9
nAxOwNGjH8J8boIB7SNqUVKevGMivs0ojI6OzjoMkgZMBvCxQwrghdwwfgdH
I1TZdV9mJpiOIbclTWgKlNc5XBUZI1tEH/A1Sr26lBtaDfbrC5YWB8tVUfNk
VdwyjtiuVZiZjgkvWMqV8qf3H8LAVDZhzrikFY8zbSWtmDJIslgI3CjY/bUO
Z9ZEEHingwlGEPgnODYJoEQZV3EOJabXRAm3saBqXVRMbqGiWSxVocgCmHwl
APmUy2Fvt5Ax+QKijAmFWACnGEECjIMocgosLzOa4yYUKrhoto5M1zg/v7lZ
LxfLt4vVenFzdbm6tjS0WF5df7ahcW/hP2p7r8EbgGDf6Vq2ByJiYzT/Q2fQ
Jg14C7g+uCpb3evP4RuYvpk8q51ERboiRfiJku6TnmigPqlX8EHkTSL/r53z
B4VxFB5H4WTfMuF4qsqlGVS1qMfYmbAzMBC3CTWK+uH2g7VN5zm0w+xtEx4w
XuQZFVHJayvTxsq0s2IYQlY1wf1kQ5N1W4RqPlMf9Slt46DVrrXwXhv+HZV6
Ume0spoS2lNw0oikVoudYZkpRBnDk78xSTYWaizuCS1VSVu2rX2OPe1TDSfa
p3baHaldWlhpLzVkd950SWpo2P5O13uuyurRDPKMN/s/eKSt8/i+tWprn4eS
TzLV6T8ANRSL4xAGAAA=
---1463809014-968788267-1021659872=:9572
Content-Type: APPLICATION/octet-stream; name="main.cpp.gz"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.40.0205171524321.9572@cli004.brasmap>
Content-Description: example
Content-Disposition: attachment; filename="main.cpp.gz"

H4sICEBG5TwAA21haW4uY3BwAJVTTW/bMAw9W7+CTYHB+WjmHXrJR4Ei63FD
kRZYb4UiM4kwWTJkOUsR9L+PlB3P3bBiO8QRyUfy6ZG61FaZOkdYaFcFj7K4
EZedrwo5HhWWoe9Uajz+qFxRODvd3wiBx4DewmA1gFMPVoY9lcsZ8suJ3lv3
1kVdtd2x71WQe5vjFlarp6fnr7df7h7ub1d3D6KuCAJWFliVUiEQr/kfTuI/
F5doc70VQhlZVbB+fIwkYAZlvTFaQWOLk4DSu4AqYD4TyUH7UEsDB6dz0FYH
LU06pOskSYVhJa1Ck6r491lXcmMwH85F8joXlMs5vrYRzwnB1ypApfaYP5fS
y6I5MzZRrg6wWAzWKM3Voy6wJXQxIC8QdxNh2gYoHfF9gWVbaYchHmqDPs24
e9IFYpc0m8CH6IrBthMMSq+d14ErxSYRMm3pnWNd837imUBMa60+y63zkDJV
vczmoBfLa/qOx41uXR3dL55UBrFMP2VZc4VX+uFRh7SVsx0TjeQ8utiAeE6A
D1WQ6vsE7hsyxGk4axVMI6aNc+BE5XhAnFZIbWMh6XdqAmovPYxGZByGtApd
Lxj5EOjCFn90q5NeTyA7MuFJ22k2a7RYu9rma7fRdshydLo9BOkDryYVm72Z
KzOgF0AdOHZ1UzEyXl1vIeXIxRKyRj/FJo+LHqX3znN42JcyR4MBuRBbHkNN
j5BALCSxUcfj84tGk6eR3d+38t+W7b1d627OMsN/7ttvye/uXNKDf5M6isxL
SBpMe0K/kUacpcloHcRPbwriQ+8EAAA=
---1463809014-968788267-1021659872=:9572--


From dyfet@ostel.com Fri May 17 14:51:17 2002
Received: from dsl-65-188-113-57.telocity.com ([65.188.113.57] helo=home.sys)
	by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian))
	id 178mov-0000OH-00
	for <bug-commoncpp@gnu.org>; Fri, 17 May 2002 14:51:17 -0400
Received: from bayonne.myip.org (home.sys [172.16.1.254])
	by home.sys (Postfix) with ESMTP
	id D40EB2FBA2; Fri, 17 May 2002 15:19:39 -0400 (EDT)
X-Originating-IP: [208.8.92.101]
From: "David Sugar" <dyfet@ostel.com>
To: "Marcelo Dalmas" <mad@brasmap.com.br>, bug-commoncpp@gnu.org
Subject: Re: Real Time Thread
Date: Fri, 17 May 2002 19:19:39 +0000
Message-ID: <20020517.n2K.79053000@bayonne.myip.org>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
X-Mailer: phpGroupWare (http://www.phpgroupware.org) v 0.9.13.018
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.9
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

I will look at and think about this.  It looks like you are proposing to pass a
scheduler policy as part of the constructor...

It probably should include a default that is "PolicyInherit" rather than
"PolicyOther", which simply means use the policy of the creating thread if not
explicity specified.

Marcelo Dalmas (mad@brasmap.com.br) wrote*:
>
>
>Hi all!
>
>I'm sending a little modification in thread.h and thread.cpp to use
>real-time threads in GNU/Linux.
>
>
>Marcelo Dalmas
>BRASMAP Sistemas
>www.brasmap.com.br
>Fone/Fax: (48) 333-2218 ramal 2114
>



