Article View: comp.sys.powerpc
Article #2281Re: Ask yourself these before you choosing a 32bit OS...
From: Anders Sundin
Date: Thu, 21 Sep 1995 09:15
Date: Thu, 21 Sep 1995 09:15
23 lines
1738 bytes
1738 bytes
fat@cnit.nsk.su (Dmitry V. Irtegov) wrote: >wade@macc.wisc.edu (Wade E. Masshardt) writes: >> c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) wrote: > >>>But if you lock down handles, you are fighting the OS in its efforts to >>>eliminate fragmentation. > >>Unless you have brain, in which case you lock the handle just before you >>are going to use it, then unlock it as soon as you are finished. Duh. > >If you lock handles before each use and unlock them after, >your code inflates 2-3 times, and if you don't you have werid >bugs when you pass pointer outside of lock/unlock region. >Been there, done that. Maybe you could post an example of this code of yours that "inflates 2-3 times" when you lock handles? ;-) -Anders -- Anders Sundin, Org. Chem. 2, Lund University, Box 124, S-22100 Lund, Sweden e-mail: Anders.Sundin@orgk2.lth.se voice: +46 462224185 fax: +46 462228209
Technical Details
Message-ID:
<Anders.Sundin-2109951115280001@aps.orgk2.lth.se>Path:
arc1-ca.pugleaf.net!aps.orgk2.lth.se!userReferences:
<3vh2hc$9dd@falcon.ccs.uwo.ca> <43auuk$41@starfruit.csd.sgi.com> <43d484INNlge@keats.ugrad.cs.ubc.ca> <nevin-1709951616450001@mac-nevin.cs.arizona.edu> <43kai7INNjvp@anvil.ugrad.cs.ubc.ca> <wade-1809952212460001@f182-067.net.wisc.edu> <FAT.95Sep20151221@fat.cnit.nsk.su>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!aps.orgk2.lth.se!user From: Anders.Sundin@orgk2.lth.se (Anders Sundin) Newsgroups: comp.sys.powerpc,comp.os.linux.advocacy,comp.sys.mac.advocacy,comp.os.os2.advocacy,comp.sys.amiga.advocacy,comp.sys.intel,comp.os.ms-windows.advocacy Subject: Re: Ask yourself these before you choosing a 32bit OS... Date: Thu, 21 Sep 1995 11:15:28 +0200 Organization: Organic Chemistry 2 Distribution: world Message-ID: <Anders.Sundin-2109951115280001@aps.orgk2.lth.se> References: <3vh2hc$9dd@falcon.ccs.uwo.ca> <43auuk$41@starfruit.csd.sgi.com> <43d484INNlge@keats.ugrad.cs.ubc.ca> <nevin-1709951616450001@mac-nevin.cs.arizona.edu> <43kai7INNjvp@anvil.ugrad.cs.ubc.ca> <wade-1809952212460001@f182-067.net.wisc.edu> <FAT.95Sep20151221@fat.cnit.nsk.su> NNTP-Posting-Host: aps.orgk2.lth.se X-Newsreader: Yet Another NewsWatcher 2.0.1