[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Test framework; and what should be in 1.1.0
From: |
Albert Strasheim |
Subject: |
Re: Test framework; and what should be in 1.1.0 |
Date: |
Fri, 3 Jan 2003 16:59:01 +0200 |
User-agent: |
Mutt/1.4i |
Hello,
On Fri, 03 Jan 2003, Albert Strasheim wrote:
> > Seems you want to provide a Thread class implemented on top of Pth?
> > Isn't the pthread_* code always going to be inferior to this
> > implementation?
>
> I am a bit mistaken here. Seems Pth uses the exact same function names,
> etc., so the existing code remains unmodified? And you can decide if you
> want to link against Pth, or just straight glibc (at least on Linux).
You can get the exact same function names, if you use the backward
compatible headers. The "normal" Pth functions are called pth_*.
> And then on platforms with some weird thread library, you now get
> existing code to compile by using Pth. Sweet.
Generally you don't want to link against Pth on Linux? Pth doesn't
contain any platform specific code, so it also doesn't support SMP and
other nice bits and pieces. When the new thread code in glibc 2.3 and
Linux 2.5/2.6 hits town, you'll probably definately want to be linking
against that instead of against Pth. But on other platforms you probably
have no choice.
Cheers,
Albert
- Re: Test framework; new counter class, (continued)
- Re: Test framework; new counter class, David Sugar, 2003/01/02
- Re: Test framework; new counter class, David Sugar, 2003/01/02
- RE: Test framework; new counter class, Chad Yates, 2003/01/03
- Re: Test framework; and what should be in 1.1.0, David Sugar, 2003/01/03
- RE: Test framework; and what should be in 1.1.0, Chad Yates, 2003/01/03
- Re: Test framework; and what should be in 1.1.0, Albert Strasheim, 2003/01/03
- Re: Test framework; and what should be in 1.1.0, Federico Montesino Pouzols, 2003/01/17
- RE: Test framework, Chad Yates, 2003/01/03
- Re: Test framework, Federico Montesino Pouzols, 2003/01/17
- RE: Test framework, Chad Yates, 2003/01/17
- Re: Test framework, Federico Montesino Pouzols, 2003/01/18
Re: Test framework; new counter class, Federico Montesino Pouzols, 2003/01/17