github.com/moontrade/nogc@v0.1.7/collections/queue/task.go (about)

     1  package queue
     2  
     3  import "github.com/moontrade/nogc"
     4  
     5  type Task struct {
     6  	Data nogc.Bytes
     7  	next uintptr
     8  }
     9  
    10  //func AllocTask(a mem.Allocator, size uintptr) *Task {
    11  //	a.AllocZeroed(mem.Pointer(size + unsafe.Sizeof(Task{})))
    12  //}