W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2001

HTProfile_newPreemptiveClient on WinNT bug?

From: Oliver Steinau <Oliver.Steinau@STencode.de>
Date: Tue, 14 Aug 2001 10:54:21 +0200
Message-ID: <2B88AE35C609DF4F852D31FFA6FD5EE601A381@CAESAR.STencode.de>
To: <www-lib@w3.org>
First of all: apologies if this has already been answered -- I'm brand
to the list (pointers always welcome...)

I need some help with the HTProfile_newPreemptiveClient...

HTProfile_newPreemptiveClient looks like:

PUBLIC void HTProfile_newPreemptiveClient (const char * AppName,
					   const char * AppVersion)
    /* Do the default setup */
    client_profile(AppName, AppVersion, YES, NO, NO);

    /* On windows we need the initialization anyway */
    /* Remember that we are loading preemptively */
    preemptive = YES;

I have two questions concerning this piece of code:
1. HTEventInit is *ONLY* called if WWW_WIN_ASYNC (and not, eg. if
despite the comment. Bug?
2. "preemptive = YES;" is only done if the WSAAsyncXXX calls are not
used; but
what has preemptive/non-preemptive to do with async calls?

The effect is, that when you build with WWW_WIN_DLL (no WWW_WIN_ASYNC)
and create 
a preemptive client, *NOTHING* works, because WSAStartup is never

As far as I can see, HTEventInit takes care of async or not; so it seems
all preprocessor commands should be deleted from this function -- am I


Received on Tuesday, 14 August 2001 04:54:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:54 UTC