[vorbis-dev] win32sdk shared memory issue -- proposed change of code
Chris Wolf
cwolf at starclass.com
Wed Oct 17 21:39:31 PDT 2001
On 10/17/2001 at 9:46 PM Jack Moffitt wrote:
>> > "Sleep" doesn't
>> >exist on my system either (Clean Win2000sp2/msvc6sp5pp install).
>>
>> I use Cygwin (provides a real bash shell instead of "cmd" on windows) so
>that's
>> the sleep I was using. I implemented a windows-script-host version
>which should work
>> on all windows platforms except win95. (the script host can be
>downloaded separately
>> from microsoft, in that case)
>
>I asked privately, but this is probably more appropriate here. Why is
>sleep needed at all? :)
After looking at it, sleep call at the end of mkmak.bat is not needed, it is
in their because "mkmak.bat" used to be call from the main script, and since the
main script depends on the existence of *all* the makefiles, the sleep was to
insure that msdev was done exporting them before the script tried to call them.
(msdev runs asychronously while running that macro in command line mode)
I took it out because of the exit call that was in there (which Matthijs Laan pointed out).
Now that it works as intended, I can put the call the that script back in the main
build script -- bottom line is I would like for the user to have to only run one, single
script to do everything, as opposed to several scripts, remembering which order to call
them in, etc.
There is another new WSH script (enableOggMacro.js),
which if disabled, would mean there would have to be manual interaction with the UI
to enable the macro, something I was trying to avoid.
>
>And would a for loop work if it _is_ necessary? Many people turn off
>the windows scripting host in this day of email worms :)
>
I could provide a 5 line C program which implements sleep, and is built
as the first step of the build process.
>
>Thank you for updating these and maintaining them. We'll get some real
>feedback on this once rc3 ships. :)
Cool.
BTW, what about my proposed change to registry.h?
(see previous e-mail: http://www.xiph.org/archives/vorbis-dev/0074.html )
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list