This is the mail archive of the pthreads-win32@sourceware.org mailing list for the pthreas-win32 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

the multi-threaded.cpp give runtime error under vc6


Hello all

im trying to run the multi-threaded.cpp example im compiling it under
visual studio 6 where the pthread compiled as "debug multithreaded
dll" and as static lib .
i even added the :
#ifdef PTW32_STATIC_LIB
	pthread_win32_process_attach_np();
#endif

code ...
code ...
code ...

#ifdef PTW32_STATIC_LIB
	pthread_win32_process_detach_np();
#endif

but when i run the example im  geting error :

The thread 0xBB8 has exited with code 0 (0x0).
The thread 0xB84 has exited with code 0 (0x0).
The thread 0x964 has exited with code 0 (0x0).
The program 'I:\\cUrl_test3\Debug\cUrl_test3.exe' has exited with code 0 (0x0).

what i need to do to run the example right ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]