🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #170

Re: Communicating between two separate isapi "threads"?

#170
From: Maarten Wiltink
Date: Tue, 09 Sep 2003 18:42
17 lines
1666 bytes
Dodgy wrote in message <5bmrlv0ktmfnslecb189bdgp6akn04lsgr@4ax.com>...

>Is it possible to communicate between two instances of the same isapi
>running under IIS?
>
>I need to provide some resource locking to prevent clashing, and I'm
>not very clear on the memory model IIS uses for ISAPIs.
>
>Can anyone tell me how I can set/check a common flag value from within
>an ISAPI dll?


Use a windows level synchronisation object?
A mutex or critical section perhaps.

Groetjes,
Maarten Wiltink
Technical Details
Message-ID: <3f5e1f1a$0$58704$e4fe514c@news.xs4all.nl>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!newsfeed.xs4all.nl!xs4all!not-for-mail
References: <5bmrlv0ktmfnslecb189bdgp6akn04lsgr@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10baee,7e833a183a459998
X-Google-Attributes: gid10baee,public
X-Google-Thread: fb362,7e833a183a459998
X-Google-Attributes: gidfb362,public
X-Google-ArrivalTime: 2003-09-09 11:42:35 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!newsfeed.xs4all.nl!xs4all!not-for-mail
Reply-To: "Maarten Wiltink" <usenet+xs4all@mfw.dds.nl>
From: "Maarten Wiltink" <maarten@kittensandcats.net>
Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi.internet
References: <5bmrlv0ktmfnslecb189bdgp6akn04lsgr@4ax.com>
Subject: Re: Communicating between two separate isapi "threads"?
Date: Tue, 9 Sep 2003 20:42:34 +0200
Organization: Kittens & Cats, Inc.
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Lines: 20
Message-ID: <3f5e1f1a$0$58704$e4fe514c@news.xs4all.nl>
NNTP-Posting-Date: 09 Sep 2003 20:42:34 CEST
NNTP-Posting-Host: 213.84.46.174
X-Trace: 1063132954 news.xs4all.nl 58704 213.84.46.174:61767
X-Complaints-To: abuse@xs4all.nl