Re: Re: Referencing a row in a two dimensional array

Chris Double <[email protected]>
Newsgroups gmane.lisp.corman
Organization none
Message-ID <[email protected]>
On Sun, 02 Mar 2003 14:08, JP Massar wrote:
> If you can turn the GC off at all, then why can't you turn it off for
> an indefinite amount of time, as long as you neve cons (i.e., allocate
> memory), and insure that other threads can't run?

I forget the exact reasons, I'm sure Roger can expand on it. The flag for 
turning the GC off is an assembler register I think. So you can 'clear' and 
'set'. If you set it and call another function that clears and sets it then 
on return from that function you've got problems.

Also, when the GC wants to run it scans all threads to check if that register 
is clear (or set) to determine if it can pause the thread to run the GC. Long 
running operations that turn it off will result in inefficient GC perhaps?

Chris.
-- 
http://www.double.co.nz/cl

------------------------ Yahoo! Groups Sponsor ---------------------~-->
New Yahoo! Mail Plus. More flexibility. More control. More power.
Get POP access, more storage, more filters, and more.
http://us.click.yahoo.com/Hcb0iA/P.iFAA/46VHAA/SyjtlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.