public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
From: Dimitar Panayotov <develop@mail.bg>
To: pthreads-win32@sources.redhat.com
Subject: Re: Re: Static link (MSVC), alteration proposal
Date: Thu, 31 Mar 2005 07:42:00 -0000	[thread overview]
Message-ID: <1112254930.d6fc30c99fd62@mail.bg> (raw)
In-Reply-To: <1112226518.19990.69.camel@desk.home>

> Hi,
> Thanks for the changes and the explanations. They
> certainly fill a gap.

Hello, Ross, and thank you for your detailed attention you
attested.

> 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
headers.
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
that's it.

I admit that the style of the people who have written PTW32,
is professional.

> 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.

-
Dimitar Panayotov
develop@mail.bg
+359886420488



--------------------------------------
Това писмо е изпратено от  www.mail.bg

Безплатната поща в mail.bg предлага:
- Силна защита срещу СПАМ/рекламни писма
- 30MB безплатно (SMS от 2лв=3GB!)
- 30MB макс. размер на прикачен файл
- SMS за ново писмо (всички оператори)
- WAP достъп от GSM и без компютър
- Безплатен POP3 достъп
- 24 часов телефон за помощ/поддръжка
______________________________________
БЕЗ ИЗЛИШНИ ВЪПРОСИ РЕГИСТРИРАЙТЕ СВОЙ
БЕЗПЛАТЕН АДРЕС НА  http://www.mail.bg



  reply	other threads:[~2005-03-31  7:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-30 14:15 Dimitar Panayotov
2005-03-30 23:49 ` Ross Johnson
2005-03-31  7:42   ` Dimitar Panayotov [this message]
2005-03-31  8:29     ` Ross Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1112254930.d6fc30c99fd62@mail.bg \
    --to=develop@mail.bg \
    --cc=pthreads-win32@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).