Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!KARRON.MED.NYU.EDU!karron From: karron@KARRON.MED.NYU.EDU Newsgroups: comp.sys.sgi Subject: Arena data gone between shows ! Message-ID: <9011072327.AA12206@karron.med.nyu.edu> Date: 7 Nov 90 23:27:16 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: karron%CMCL2.NYU.EDU@cunyvm.cuny.edu Organization: The Internet Lines: 31 I am allocating an arena, and each program that uses it checks the value in usgetdata(). If it is zero, then assume that the arena is a virgin, and the first thing that any of the programs do is setup a directory of addresses for data structures inside the arena, and then uscalloc() the data structures. I find that if all of the programs associated with an arena terminate, then the data inside the arena is corrupted, deleted, or somthing, but the value in usgetdata() is untouched. If I do an od of the data, I can see the strings that my programs left behind, but something is wrong from the programs point of view. I would like an arena to preserve its state between programs. Is that possible ? An additional note: Is there anyway to identify arenas as special files ? The file commands does not recognize then. I have not tried workspace default sgi rules. Are they tagged ? Since I don't want to delete old arenas, is there any way to clean them out if they are not touched for a day or so ? I know that they don't use up disk space, but they do use up more valuable core. +-----------------------------------------------------------------------------+ | karron@nyu.edu (mail alias that will always find me) | | Dan Karron | | . . . . . . . . . . . . . . New York University Medical Center | | 560 First Avenue \ \ Pager <1> (212) 397 9330 | | New York, New York 10016 \**\ <2> 10896 <3> | | (212) 340 5210 \**\__________________________________________ | | Please Note : Soon to move to dan@karron.med.nyu.edu 128.122.135.3 (Nov 1 )| +-----------------------------------------------------------------------------+