equal
deleted
inserted
replaced
31 |
31 |
32 ObjectMemory comment:' |
32 ObjectMemory comment:' |
33 COPYRIGHT (c) 1992 by Claus Gittinger |
33 COPYRIGHT (c) 1992 by Claus Gittinger |
34 All Rights Reserved |
34 All Rights Reserved |
35 |
35 |
36 $Header: /cvs/stx/stx/libbasic/Attic/ObjMem.st,v 1.39 1995-05-03 15:30:06 claus Exp $ |
36 $Header: /cvs/stx/stx/libbasic/Attic/ObjMem.st,v 1.40 1995-05-08 03:30:02 claus Exp $ |
37 '! |
37 '! |
38 |
38 |
39 !ObjectMemory class methodsFor:'documentation'! |
39 !ObjectMemory class methodsFor:'documentation'! |
40 |
40 |
41 copyright |
41 copyright |
52 " |
52 " |
53 ! |
53 ! |
54 |
54 |
55 version |
55 version |
56 " |
56 " |
57 $Header: /cvs/stx/stx/libbasic/Attic/ObjMem.st,v 1.39 1995-05-03 15:30:06 claus Exp $ |
57 $Header: /cvs/stx/stx/libbasic/Attic/ObjMem.st,v 1.40 1995-05-08 03:30:02 claus Exp $ |
58 " |
58 " |
59 ! |
59 ! |
60 |
60 |
61 documentation |
61 documentation |
62 " |
62 " |
1503 BackgroundCollectProcess := nil |
1503 BackgroundCollectProcess := nil |
1504 ] |
1504 ] |
1505 ] newProcess. |
1505 ] newProcess. |
1506 p name:'background collector'. |
1506 p name:'background collector'. |
1507 p priority:aPriority. |
1507 p priority:aPriority. |
|
1508 p restartable:true. |
1508 p resume. |
1509 p resume. |
1509 BackgroundCollectProcess := p |
1510 BackgroundCollectProcess := p |
1510 |
1511 |
1511 " |
1512 " |
1512 the following lets the backgroundCollector run at prio 5 |
1513 the following lets the backgroundCollector run at prio 5 |
1959 FinalizationSemaphore := nil |
1960 FinalizationSemaphore := nil |
1960 ] |
1961 ] |
1961 ] newProcess. |
1962 ] newProcess. |
1962 p name:'background finalizer'. |
1963 p name:'background finalizer'. |
1963 p priority:aPriority. |
1964 p priority:aPriority. |
|
1965 p restartable:true. |
1964 p resume. |
1966 p resume. |
1965 BackgroundFinalizationProcess := p |
1967 BackgroundFinalizationProcess := p |
1966 |
1968 |
1967 " |
1969 " |
1968 ObjectMemory startBackgroundFinalizationAt:5 |
1970 ObjectMemory startBackgroundFinalizationAt:5 |