This is the mail archive of the
mailing list for the pthreas-win32 project.
Borland C++Builder support
- From: Gianluca <gianlucaspm at pochta dot ru>
- To: pthreads-win32 at sources dot redhat dot com
- Date: Tue, 3 Aug 2004 14:04:52 +0400 (MSD)
- Subject: Borland C++Builder support
I have built the library with the Will Bryant's bmakefile.
I've received a bunch of warnings but it was OK.
I put the PthreadBC.dll on Windows directory, I included
PthreadBC.lib in my .bpr project, I compiled and linked the
void* function( void* arg )
printf( "This is thread %d\n", pthread_self() );
return( 0 );
int main( void )
pthread_attr_init( &attr );
&attr, PTHREAD_CREATE_DETACHED );
pthread_create( NULL, &attr, &function, NULL );
/* Allow threads to run for 10 seconds. */
On debugging the thread writes out "This is thread 19922" and does
If I run the executable just created Win XP gives me error.
Could someone help me?
Thanks in advance,