mirror of
https://github.com/ii64/gouring.git
synced 2025-04-03 20:45:54 +02:00
13 lines
219 B
Go
13 lines
219 B
Go
package gouring
|
|
|
|
import _ "unsafe"
|
|
|
|
var io_uring_smp_mb = io_uring_smp_mb_fallback
|
|
|
|
func io_uring_smp_mb_fallback()
|
|
func io_uring_smp_mb_mfence()
|
|
|
|
func init() {
|
|
// temporary
|
|
io_uring_smp_mb = io_uring_smp_mb_mfence
|
|
}
|