Re: Failed to write to a text file (text file is RW) [message #171431 is a reply to message #171430] |
Mon, 03 January 2011 03:46 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 1/2/2011 10:38 PM, Denis McMahon wrote:
> On 02/01/11 23:56, Jerry Stuckle wrote:
>
>> Like the original op's, your code is totally unsafe in a multitasking
>> environment.
>
> I didn't say it was. I just took his code and made it work on my dev
> server. It's up to him to make sure his code is robust for the
> environment he's running it in.
>
> As my dev server isn't a multitasking environment from the point of view
> of multiple users accessing the poll at once, I'm not too worried about
> whether this particular code on it is robust in that environment.
>
> Rgds
>
> Denis McMahon
No, but if you're going to suggest code, you need to suggest good code
or list major limitations like not being safe in a multitasking environment.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|