コード例 #1
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;
 }
コード例 #2
0
 public parkInfo(muintptr m = default, puintptr attach = default)
 {
     this.m      = m;
     this.attach = attach;
 }
コード例 #3
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;
 }
コード例 #4
0
ファイル: runtime2_mStruct.cs プロジェクト: zjmit/go2cs
 public m(ref ptr <g> g0 = default, gobuf morebuf = default, uint divmod = default, ulong procid = default, ref ptr <g> gsignal = default, gsignalStack goSigStack = default, sigset sigmask = default, array <System.UIntPtr> tls = default, Action mstartfn = default, ref ptr <g> curg = default, guintptr caughtsig = default, puintptr p = default, puintptr nextp = default, puintptr oldp = default, long id = default, int mallocing = default, int throwing = default, @string preemptoff = default, int locks = default, int dying = default, int profilehz = default, bool spinning = default, bool blocked = default, bool newSigstack = default, sbyte printlock = default, bool incgo = default, uint freeWait = default, array <uint> fastrand = default, bool needextram = default, byte traceback = default, ulong ncgocall = default, int ncgo = default, uint cgoCallersUse = default, ref ptr <cgoCallers> cgoCallers = default, note park = default, ref ptr <m> alllink = default, muintptr schedlink = default, guintptr lockedg = default, array <System.UIntPtr> createstack = default, uint lockedExt = default, uint lockedInt = default, muintptr nextwaitm = default, Func <ptr <g>, unsafe.Pointer, bool> waitunlockf = default, unsafe.Pointer waitlock = default, byte waittraceev = default, long waittraceskip = default, bool startingtrace = default, uint syscalltick = default, ref ptr <m> freelink = default, libcall libcall = default, System.UIntPtr libcallpc = default, System.UIntPtr libcallsp = default, guintptr libcallg = default, libcall syscall = default, System.UIntPtr vdsoSP = default, System.UIntPtr vdsoPC = default, uint preemptGen = default, uint signalPending = default, dlogPerM dlogPerM = default, mOS mOS = default, long locksHeldLen = default, array <heldLockInfo> locksHeld = default)
コード例 #5
0
ファイル: runtime2_schedtStruct.cs プロジェクト: zjmit/go2cs
 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;
 }