Article View: adobe.psprinter.windows
Article #873Re: How do you assign dynamic PostScript file names?
From: Aandi Inston
Date: Tue, 08 Apr 2003 09:10
Date: Tue, 08 Apr 2003 09:10
18 lines
1626 bytes
1626 bytes
I don't know the details - I've never had to do it on Windows. The idea is simple - a mutex is something that only one task, process or thread can own. So if your program asks for a particular mutex, and nobody else has it, your program continues. When you are finished you free the mutex. If another program asks for the mutex it will normally just wait - as if asking for a response from a slow network link or user input. The request will complete only when the mutex is released. Try searching MSDN library for "mutex" - I think it will give you what you need. Also, consider whether other parts of your application need this (e.g. writing a log file). It is surprising how many problems will show up every few months but can be eliminated by a mutex. Aandi Inston
Technical Details
Message-ID:
<3e92907c.861143709@adobeforums.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de89967.-1@WebX.la2eafNXanI> <1de89967.7@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b40d,7edc48aa72ab58bf X-Google-Attributes: gid10b40d,public X-Google-ArrivalTime: 2003-04-08 02:37:35 PST From: quite@dial.pipex.com (Aandi Inston) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.psprinter.windows Subject: Re: How do you assign dynamic PostScript file names? Message-ID: <3e92907c.861143709@adobeforums.com> Date: Tue, 8 Apr 2003 02:10:10 -0700 References: <1de89967.-1@WebX.la2eafNXanI> <1de89967.7@WebX.la2eafNXanI> Lines: 18 X-Newsreader: Forte Free Agent 1.21/32.243 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit