Boost logo

Threads-Devel :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2006-07-06 07:04:49


Jeff Idol wrote:
> Sorry it took me so long to get back with everyone, I am getting married
> so I have been a little busy.

Congratulations!

> The following functions are causing
> compile errors in STDCALL.
>
> on_thread_exit
> on_tls_prepare
> on_process_init
> on_process_term

These functions are kind of callback functions from the C-runtime
library. However, they don't take any parameters as I can see at the
moment. So it might be possible to change them to use STDCALL as well.

But they are intended as internal interfaces to the "operating system",
so the question is why they get into your way.
It might be, that I did not properly hide away these declarations from
such changes. I will look into this.

As far as I can see at the moment this could be caused by a lack of
defensive declaration of these functions.

I think you are trying to compile with /Gz do you?
Could you please tell me how you are trying to compile the libary?
Are you using bjam? Which command line settings are you using?

> Also, what rewrite work is going on with the thread library?

The thread library is currently being rewritten mainly to get it under
the current boost license. At the same time we take the opportunity to
employ a better platform separation of the code base. No change in
interface is planned.

Roland


Threads-Devel list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk