- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for lockRankMayQueueFinalizer (0.21 sec)
-
src/runtime/mfinal.go
1<<0 | 1<<1 | 1<<2 | 0<<3 | 1<<4 | 1<<5 | 1<<6 | 1<<7, 0<<0 | 1<<1 | 1<<2 | 1<<3 | 1<<4 | 0<<5 | 1<<6 | 1<<7, } // lockRankMayQueueFinalizer records the lock ranking effects of a // function that may call queuefinalizer. func lockRankMayQueueFinalizer() { lockWithRankMayAcquire(&finlock, getLockRank(&finlock)) } func queuefinalizer(p unsafe.Pointer, fn *funcval, nret uintptr, fint *_type, ot *ptrtype) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 01:56:56 UTC 2024 - 19K bytes - Viewed (0) -
src/runtime/malloc.go
} if size == 0 { return unsafe.Pointer(&zerobase) } // It's possible for any malloc to trigger sweeping, which may in // turn queue finalizers. Record this dynamic lock edge. lockRankMayQueueFinalizer() userSize := size if asanenabled { // Refer to ASAN runtime library, the malloc() function allocates extra memory, // the redzone, around the user requested memory region. And the redzones are marked
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 59.6K bytes - Viewed (0)