go-randomx/exec.go
DataHoarder c41d6c8080
Some checks failed
continuous-integration/drone/push Build is failing
Support large pages, implement aligned / paged / large paged allocators
2024-05-02 16:18:50 +02:00

16 lines
327 B
Go

package randomx
import "git.gammaspectra.live/P2Pool/go-randomx/v3/internal/memory"
type SuperScalarProgramFunc []byte
type VMProgramFunc []byte
func (f SuperScalarProgramFunc) Close() error {
return memory.FreeSlice(pageAllocator, f)
}
func (f VMProgramFunc) Close() error {
return memory.FreeSlice(pageAllocator, f)
}