the multi-threaded.cpp give runtime error under vc6

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

the multi-threaded.cpp give runtime error under vc6

Meir Yanovich-2
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 ?