[llvm-commits] [vmkit] r48959 - /vmkit/trunk/lib/Mvm/GCMmap2/gcthread.h
Owen Anderson
resistor at mac.com
Sun Mar 30 10:19:43 PDT 2008
Author: resistor
Date: Sun Mar 30 12:19:43 2008
New Revision: 48959
URL: http://llvm.org/viewvc/llvm-project?rev=48959&view=rev
Log:
Finish de-frenchifying this file. I'll probably leave the rest of this job
to people who speak it better than me.
Modified:
vmkit/trunk/lib/Mvm/GCMmap2/gcthread.h
Modified: vmkit/trunk/lib/Mvm/GCMmap2/gcthread.h
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/Mvm/GCMmap2/gcthread.h?rev=48959&r1=48958&r2=48959&view=diff
==============================================================================
--- vmkit/trunk/lib/Mvm/GCMmap2/gcthread.h (original)
+++ vmkit/trunk/lib/Mvm/GCMmap2/gcthread.h Sun Mar 30 12:19:43 2008
@@ -34,9 +34,6 @@
_tid = t;
}
- /* cette fonction n'est appelée que dans deux cas: soit parsqu'un thread quit */
- /* dans ce cas, tout est déjà fait */
- /* soit parce que le collecteur quitte et dans ce cas, toute la mémoire est bien libérée */
/* This function is only called in two cases:
* 1) When a thread quits, in which case everything is already done.
* 2) When the collector quits, in which case all memory is freed.
@@ -107,9 +104,9 @@
inline void collectorGo() { _stackCond.broadcast(); }
inline void cancel() {
- _nb_collected = _nb_threads; /* toutes les piles sont collectées */
- collectorGo(); /* débloque les autres threads sur la phase de collection de pile */
- collectionFinished(); /* débloque les mutateurs */
+ _nb_collected = _nb_threads; /* all stacks have been collected */
+ collectorGo(); /* unblock all threads in stack collection */
+ collectionFinished(); /* unblock mutators */
}
inline GCThreadCollector *myloc() { return _loc.get(); }
More information about the llvm-commits
mailing list