Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!dali!ogicse!emory!hubcap!randy From: randy@uokmax.ecn.uoknor.edu (Longshot) Newsgroups: comp.parallel Subject: Do I need locks? Message-ID: <9193@hubcap.clemson.edu> Date: 1 Jun 90 19:27:15 GMT Sender: fpst@hubcap.clemson.edu Lines: 12 Approved: parallel@hubcap.clemson.edu I am developing some curve-fitting software for a 2-d array (a surface). I would like to use parallelism to solve several lines in parallel. If I declare a block of shared memory A[num_vectors][vec_size], and I know for a fact that no 2 processes will ever consider accessing the same vector, let alone simultaneously, do I need to concern myself with semaphores and such? Randy -- Randy J. Ray University of Oklahoma, Norman Campus (405)/325-5370 !chinet!uokmax!randy randy@uokmax.uucp randy@uokmax.ecn.uoknor.edu "He's not afraid of the judgement. He knows of horrors worse than your Hell." ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~