Vanilla Netrek Server Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[VANILLA-L:523] Re: The server and parallel programming bugs
>----------
>From: cameron@ripper.stl.dec.com[SMTP:cameron@ripper.stl.dec.com]
>Sent: Friday, April 18, 1997 4:50 PM
>To: Multiple recipients of list
>Subject: [VANILLA-L:520] Re: The server and parallel programming bugs
>
>> In particular, the server is a parallel program but is not correct.
>
>Yes, it breaks all the rules for synchronising access to critical data
>structures. It needs mutexes or semaphores.
Yeah, I've been considering suggesting adding a semaphore or
two to control the shared memory segment. It will be slower than
the current approach but then the server is suffering on some
machines. Maybe 1 semaphore for controlling the message
structure in the shared memory since it is hit so much. 1 more
semaphore should be used to control the rest of the shared
memory structure.. If we're going to mess with the shared memory
segment we should do it properly so we don't have to worry this
anymore in the future.
>Nick