This is the mail archive of the
mailing list for the pthreas-win32 project.
Re: Re: Static link (MSVC), alteration proposal
> Thanks for the changes and the explanations. They
> certainly fill a gap.
Hello, Ross, and thank you for your detailed attention you
> The PTW32_BUILD conditional was added by me. I've never
> built the
> library statically, and don't test this side of things.
> This is because
> the library is essentially designed for dynamic linking
No, PTW32 is written very clever.
1. Since the sources are written in a way which relies on
the headers to determine the type of linkage of all the
PTW32 functions, then actually everything is up to the
2. Since all the sources are combined in single one --
<pthread.c>, things are quite easy, because you only need
to add <pthread.c> to your project (or give to it a
separate entry in the Makefile), it will be compiled, and
then pthread.obj will be included in the final link, and
I admit that the style of the people who have written PTW32,
> Please see the description of:-
> pthread_win32_process_attach_np ()
> pthread_win32_process_detach_np ()
> pthread_win32_thread_attach_np ()
> pthread_win32_thread_detach_np ()
And thank you for pointing me to the functions which must be
used when statically linking with PTW32. I am aware of
those, but I forgot to mention them. Sorry.
Again, thank you for your attention. Respects.
Това писмо е изпратено от www.mail.bg
Безплатната поща в mail.bg предлага:
- Силна защита срещу СПАМ/рекламни писма
- 30MB безплатно (SMS от 2лв=3GB!)
- 30MB макс. размер на прикачен файл
- SMS за ново писмо (всички оператори)
- WAP достъп от GSM и без компютър
- Безплатен POP3 достъп
- 24 часов телефон за помощ/поддръжка
БЕЗ ИЗЛИШНИ ВЪПРОСИ РЕГИСТРИРАЙТЕ СВОЙ
БЕЗПЛАТЕН АДРЕС НА http://www.mail.bg