class PlatformEvent : public CHeapObj<mtSynchronizer> { private: double CachePad [4] ; // increase odds that _Event is sole occupant of cache line volatile int _Event ;
HANDLE _ParkHandle ;
// Exercise caution using reset() and fired() - they may require MEMBARs void reset() { _Event = 0 ; }
int fired() { return _Event; } void park () ; void unpark () ;
int park (jlong millis) ;
};
class PlatformParker {
NONCOPYABLE(PlatformParker);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.