Esempio n. 1
0
 public traceStackTable(mutex @lock = default, uint seq = default, traceAlloc mem = default, array <traceStackPtr> tab = default)
 {
     this.@lock = @lock;
     this.seq   = seq;
     this.mem   = mem;
     this.tab   = tab;
 }
Esempio n. 2
0
 public noteQueue(mutex @lock = default, array <noteData> data = default, long ri = default, long wi = default, bool full = default)
 {
     this.@lock = @lock;
     this.data  = data;
     this.ri    = ri;
     this.wi    = wi;
     this.full  = full;
 }
Esempio n. 3
0
 public notifyList(uint wait = default, uint notify = default, mutex @lock = default, ref ptr <sudog> head = default, ref ptr <sudog> tail = default)
 {
     this.wait   = wait;
     this.notify = notify;
     this.@lock  = @lock;
     this.head   = head;
     this.tail   = tail;
 }
Esempio n. 4
0
 public mOS(mutex threadLock = default, System.UIntPtr thread = default, System.UIntPtr waitsema = default, System.UIntPtr resumesema = default, uint preemptExtLock = default)
 {
     this.threadLock     = threadLock;
     this.thread         = thread;
     this.waitsema       = waitsema;
     this.resumesema     = resumesema;
     this.preemptExtLock = preemptExtLock;
 }
Esempio n. 5
0
 public rwmutex(mutex rLock = default, muintptr readers = default, uint readerPass = default, mutex wLock = default, muintptr writer = default, uint readerCount = default, uint readerWait = default)
 {
     this.rLock       = rLock;
     this.readers     = readers;
     this.readerPass  = readerPass;
     this.wLock       = wLock;
     this.writer      = writer;
     this.readerCount = readerCount;
     this.readerWait  = readerWait;
 }
Esempio n. 6
0
 public sweepdata(mutex @lock = default, ref ptr <g> g = default, bool parked = default, bool started = default, uint nbgsweep = default, uint npausesweep = default, sweepClass centralIndex = default)
 {
     this.@lock        = @lock;
     this.g            = g;
     this.parked       = parked;
     this.started      = started;
     this.nbgsweep     = nbgsweep;
     this.npausesweep  = npausesweep;
     this.centralIndex = centralIndex;
 }
Esempio n. 7
0
 public mcentral(mutex @lock = default, spanClass spanclass = default, mSpanList nonempty = default, mSpanList empty = default, array <spanSet> partial = default, array <spanSet> full = default, ulong nmalloc = default)
 {
     this.@lock     = @lock;
     this.spanclass = spanclass;
     this.nonempty  = nonempty;
     this.empty     = empty;
     this.partial   = partial;
     this.full      = full;
     this.nmalloc   = nmalloc;
 }
Esempio n. 8
0
 public cpuProfile(mutex @lock = default, bool on = default, ref ptr <profBuf> log = default, array <System.UIntPtr> extra = default, long numExtra = default, ulong lostExtra = default, ulong lostAtomic = default)
 {
     this.@lock      = @lock;
     this.on         = on;
     this.log        = log;
     this.extra      = extra;
     this.numExtra   = numExtra;
     this.lostExtra  = lostExtra;
     this.lostAtomic = lostAtomic;
 }
Esempio n. 9
0
 public pollDesc(ref ptr <pollDesc> link = default, mutex @lock = default, System.UIntPtr fd = default, bool closing = default, bool everr = default, uint user = default, System.UIntPtr rseq = default, System.UIntPtr rg = default, timer rt = default, long rd = default, System.UIntPtr wseq = default, System.UIntPtr wg = default, timer wt = default, long wd = default)
 {
     this.link    = link;
     this.@lock   = @lock;
     this.fd      = fd;
     this.closing = closing;
     this.everr   = everr;
     this.user    = user;
     this.rseq    = rseq;
     this.rg      = rg;
     this.rt      = rt;
     this.rd      = rd;
     this.wseq    = wseq;
     this.wg      = wg;
     this.wt      = wt;
     this.wd      = wd;
 }
Esempio n. 10
0
 public mheap(mutex @lock = default, pageAlloc pages = default, uint sweepgen = default, uint sweepdone = default, uint sweepers = default, slice <ptr <mspan> > allspans = default, array <gcSweepBuf> sweepSpans = default, uint _ = default, ulong pagesInUse = default, ulong pagesSwept = default, ulong pagesSweptBasis = default, ulong sweepHeapLiveBasis = default, double sweepPagesPerByte = default, ulong scavengeGoal = default, ulong reclaimIndex = default, System.UIntPtr reclaimCredit = default, ulong largealloc = default, ulong nlargealloc = default, ulong largefree = default, ulong nlargefree = default, array <ulong> nsmallfree = default, array <ptr <array <ptr <heapArena> > > > arenas = default, linearAlloc heapArenaAlloc = default, ref ptr <arenaHint> arenaHints = default, linearAlloc arena = default, slice <arenaIdx> allArenas = default, slice <arenaIdx> sweepArenas = default, slice <arenaIdx> markArenas = default, fixalloc spanalloc = default, fixalloc cachealloc = default, fixalloc specialfinalizeralloc = default, fixalloc specialprofilealloc = default, mutex speciallock = default, fixalloc arenaHintAlloc = default, ref ptr <specialfinalizer> unused = default)
 {
     this.@lock                 = @lock;
     this.pages                 = pages;
     this.sweepgen              = sweepgen;
     this.sweepdone             = sweepdone;
     this.sweepers              = sweepers;
     this.allspans              = allspans;
     this.sweepSpans            = sweepSpans;
     this._                     = _;
     this.pagesInUse            = pagesInUse;
     this.pagesSwept            = pagesSwept;
     this.pagesSweptBasis       = pagesSweptBasis;
     this.sweepHeapLiveBasis    = sweepHeapLiveBasis;
     this.sweepPagesPerByte     = sweepPagesPerByte;
     this.scavengeGoal          = scavengeGoal;
     this.reclaimIndex          = reclaimIndex;
     this.reclaimCredit         = reclaimCredit;
     this.largealloc            = largealloc;
     this.nlargealloc           = nlargealloc;
     this.largefree             = largefree;
     this.nlargefree            = nlargefree;
     this.nsmallfree            = nsmallfree;
     this.arenas                = arenas;
     this.heapArenaAlloc        = heapArenaAlloc;
     this.arenaHints            = arenaHints;
     this.arena                 = arena;
     this.allArenas             = allArenas;
     this.sweepArenas           = sweepArenas;
     this.markArenas            = markArenas;
     this.spanalloc             = spanalloc;
     this.cachealloc            = cachealloc;
     this.specialfinalizeralloc = specialfinalizeralloc;
     this.specialprofilealloc   = specialprofilealloc;
     this.speciallock           = speciallock;
     this.arenaHintAlloc        = arenaHintAlloc;
     this.unused                = unused;
 }
Esempio n. 11
0
 public LockSet(IEnumerable <object> mutexes) => this.mutexes = (from mutex in mutexes orderby GetStableId(mutex) select mutex).ToList();
Esempio n. 12
0
 public callbacks(mutex @lock = default, array <ptr <wincallbackcontext> > ctxt = default, long n = default)
 {
     this.@lock = @lock;
     this.ctxt  = ctxt;
     this.n     = n;
 }
Esempio n. 13
0
 public stackpoolItem(mutex mu = default, mSpanList span = default)
 {
     this.mu   = mu;
     this.span = span;
 }
Esempio n. 14
0
 public forcegcstate(mutex @lock = default, ref ptr <g> g = default, uint idle = default)
 {
     this.@lock = @lock;
     this.g     = g;
     this.idle  = idle;
 }
Esempio n. 15
0
 public p(int id = default, uint status = default, puintptr link = default, uint schedtick = default, uint syscalltick = default, sysmontick sysmontick = default, muintptr m = default, ref ptr <mcache> mcache = default, pageCache pcache = default, System.UIntPtr raceprocctx = default, array <slice <ptr <_defer> > > deferpool = default, array <array <ptr <_defer> > > deferpoolbuf = default, ulong goidcache = default, ulong goidcacheend = default, uint runqhead = default, uint runqtail = default, array <guintptr> runq = default, guintptr runnext = default, slice <ptr <sudog> > sudogcache = default, array <ptr <sudog> > sudogbuf = default, traceBufPtr tracebuf = default, bool traceSweep = default, System.UIntPtr traceSwept = default, System.UIntPtr traceReclaimed = default, persistentAlloc palloc = default, uint _ = default, ulong timer0When = default, long gcAssistTime = default, long gcFractionalMarkTime = default, guintptr gcBgMarkWorker = default, gcMarkWorkerMode gcMarkWorkerMode = default, long gcMarkWorkerStartTime = default, gcWork gcw = default, wbBuf wbBuf = default, uint runSafePointFn = default, mutex timersLock = default, slice <ptr <timer> > timers = default, uint numTimers = default, uint adjustTimers = default, uint deletedTimers = default, System.UIntPtr timerRaceCtx = default, bool preempt = default, cpu.CacheLinePad pad = default)
 {
     this.id                    = id;
     this.status                = status;
     this.link                  = link;
     this.schedtick             = schedtick;
     this.syscalltick           = syscalltick;
     this.sysmontick            = sysmontick;
     this.m                     = m;
     this.mcache                = mcache;
     this.pcache                = pcache;
     this.raceprocctx           = raceprocctx;
     this.deferpool             = deferpool;
     this.deferpoolbuf          = deferpoolbuf;
     this.goidcache             = goidcache;
     this.goidcacheend          = goidcacheend;
     this.runqhead              = runqhead;
     this.runqtail              = runqtail;
     this.runq                  = runq;
     this.runnext               = runnext;
     this.sudogcache            = sudogcache;
     this.sudogbuf              = sudogbuf;
     this.tracebuf              = tracebuf;
     this.traceSweep            = traceSweep;
     this.traceSwept            = traceSwept;
     this.traceReclaimed        = traceReclaimed;
     this.palloc                = palloc;
     this._                     = _;
     this.timer0When            = timer0When;
     this.gcAssistTime          = gcAssistTime;
     this.gcFractionalMarkTime  = gcFractionalMarkTime;
     this.gcBgMarkWorker        = gcBgMarkWorker;
     this.gcMarkWorkerMode      = gcMarkWorkerMode;
     this.gcMarkWorkerStartTime = gcMarkWorkerStartTime;
     this.gcw                   = gcw;
     this.wbBuf                 = wbBuf;
     this.runSafePointFn        = runSafePointFn;
     this.timersLock            = timersLock;
     this.timers                = timers;
     this.numTimers             = numTimers;
     this.adjustTimers          = adjustTimers;
     this.deletedTimers         = deletedTimers;
     this.timerRaceCtx          = timerRaceCtx;
     this.preempt               = preempt;
     this.pad                   = pad;
 }
Esempio n. 16
0
 public semaRoot(mutex @lock = default, ref ptr <sudog> treap = default, uint nwait = default)
 {
     this.@lock = @lock;
     this.treap = treap;
     this.nwait = nwait;
 }
Esempio n. 17
0
 public pollCache(mutex @lock = default, ref ptr <pollDesc> first = default)
 {
     this.@lock = @lock;
     this.first = first;
 }
Esempio n. 18
0
 public gcSweepBuf(mutex spineLock = default, unsafe.Pointer spine = default, System.UIntPtr spineLen = default, System.UIntPtr spineCap = default, uint index = default)
Esempio n. 19
0
 public schedt(ulong goidgen = default, ulong lastpoll = default, ulong pollUntil = default, mutex @lock = default, muintptr midle = default, int nmidle = default, int nmidlelocked = default, long mnext = default, int maxmcount = default, int nmsys = default, long nmfreed = default, uint ngsys = default, puintptr pidle = default, uint npidle = default, uint nmspinning = default, gQueue runq = default, int runqsize = default, mutex sudoglock = default, ref ptr <sudog> sudogcache = default, mutex deferlock = default, array <ptr <_defer> > deferpool = default, ref ptr <m> freem = default, uint gcwaiting = default, int stopwait = default, note stopnote = default, uint sysmonwait = default, note sysmonnote = default, Action <ptr <p> > safePointFn = default, int safePointWait = default, note safePointNote = default, int profilehz = default, long procresizetime = default, long totaltime = default, mutex sysmonlock = default)
 {
     this.goidgen        = goidgen;
     this.lastpoll       = lastpoll;
     this.pollUntil      = pollUntil;
     this.@lock          = @lock;
     this.midle          = midle;
     this.nmidle         = nmidle;
     this.nmidlelocked   = nmidlelocked;
     this.mnext          = mnext;
     this.maxmcount      = maxmcount;
     this.nmsys          = nmsys;
     this.nmfreed        = nmfreed;
     this.ngsys          = ngsys;
     this.pidle          = pidle;
     this.npidle         = npidle;
     this.nmspinning     = nmspinning;
     this.runq           = runq;
     this.runqsize       = runqsize;
     this.sudoglock      = sudoglock;
     this.sudogcache     = sudogcache;
     this.deferlock      = deferlock;
     this.deferpool      = deferpool;
     this.freem          = freem;
     this.gcwaiting      = gcwaiting;
     this.stopwait       = stopwait;
     this.stopnote       = stopnote;
     this.sysmonwait     = sysmonwait;
     this.sysmonnote     = sysmonnote;
     this.safePointFn    = safePointFn;
     this.safePointWait  = safePointWait;
     this.safePointNote  = safePointNote;
     this.profilehz      = profilehz;
     this.procresizetime = procresizetime;
     this.totaltime      = totaltime;
     this.sysmonlock     = sysmonlock;
 }
Esempio n. 20
0
 public spanSet(mutex spineLock = default, unsafe.Pointer spine = default, System.UIntPtr spineLen = default, System.UIntPtr spineCap = default, headTailIndex index = default)
Esempio n. 21
0
 public mspan(ref ptr <mspan> next = default, ref ptr <mspan> prev = default, ref ptr <mSpanList> list = default, System.UIntPtr startAddr = default, System.UIntPtr npages = default, gclinkptr manualFreeList = default, System.UIntPtr freeindex = default, System.UIntPtr nelems = default, ulong allocCache = default, ref ptr <gcBits> allocBits = default, ref ptr <gcBits> gcmarkBits = default, uint sweepgen = default, ushort divMul = default, ushort baseMask = default, ushort allocCount = default, spanClass spanclass = default, mSpanStateBox state = default, byte needzero = default, byte divShift = default, byte divShift2 = default, System.UIntPtr elemsize = default, System.UIntPtr limit = default, mutex speciallock = default, ref ptr <special> specials = default)
 {
     this.next           = next;
     this.prev           = prev;
     this.list           = list;
     this.startAddr      = startAddr;
     this.npages         = npages;
     this.manualFreeList = manualFreeList;
     this.freeindex      = freeindex;
     this.nelems         = nelems;
     this.allocCache     = allocCache;
     this.allocBits      = allocBits;
     this.gcmarkBits     = gcmarkBits;
     this.sweepgen       = sweepgen;
     this.divMul         = divMul;
     this.baseMask       = baseMask;
     this.allocCount     = allocCount;
     this.spanclass      = spanclass;
     this.state          = state;
     this.needzero       = needzero;
     this.divShift       = divShift;
     this.divShift2      = divShift2;
     this.elemsize       = elemsize;
     this.limit          = limit;
     this.speciallock    = speciallock;
     this.specials       = specials;
 }