main
v1.0.0
modernc.org/SQLite/internal/threadtest3
Documentation
pkg.go.dev ↗/* ** The "Set Error Line" macro. */
Variables
X__stdfiles
var X__stdfiles [3]unsafe.Pointer
Xstderr
var Xstderr unsafe.Pointer
Xstdin
var Xstdin unsafe.Pointer
Xstdout
var Xstdout unsafe.Pointer
Functions
X_start
func X_start(tls *crt.TLS, _argc int32, _argv **int8)
Xmain
func Xmain(tls *crt.TLS, _argc int32, _argv **int8) (r0 int32)
Xsqlite3_multiplex_initialize
func Xsqlite3_multiplex_initialize(tls *crt.TLS, _zOrigVfsName *int8, _makeDefault int32) (r0 int32)
C comment
/************************** Public Interfaces *****************************/ /* ** CAPI: Initialize the multiplex VFS shim - sqlite3_multiplex_initialize() ** ** Use the VFS named zOrigVfsName as the VFS that does the actual work. ** Use the default if zOrigVfsName==NULL. ** ** The multiplex VFS shim is named "multiplex". It will become the default ** VFS if makeDefault is non-zero. ** ** THIS ROUTINE IS NOT THREADSAFE. Call this routine exactly once ** during start-up. */
Types
TStress2Task
type TStress2Task struct {
Xx func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32)
} // t27 struct{x *func(*struct{},*struct{},int32)}
TThreadTest
type TThreadTest struct {
XxTest func(*crt.TLS, int32)
XzTest *int8
XnMs int32
} // t28 struct{xTest *func(int32),zTest *int8,nMs int32}
TmultiplexReal
type TmultiplexReal struct {
Xp unsafe.Pointer
Xz *int8
} // t16 struct{p *struct{},z *int8}
XCheckpointStarvationCtx
type XCheckpointStarvationCtx struct {
XeMode int32
XnMaxFrame int32
} // t25 struct{eMode int32,nMaxFrame int32}
XError
type XError struct {
Xrc int32
XiLine int32
XzErr *int8
} // t20 struct{rc int32,iLine int32,zErr *int8}
XMD5Context
type XMD5Context struct {
XisInit int32
Xbuf [4]uint32
Xbits [2]uint32
Xu t18
} // t19 struct{isInit int32,buf [4]uint32,bits [2]uint32,u union{in [64]uint8,in32 [16]uint32}}
XSqlite
type XSqlite struct {
Xdb unsafe.Pointer
XpCache unsafe.Pointer
XnText int32
XaText **int8
} // t21 struct{db *struct{},pCache *struct{},nText int32,aText **int8}
XStatement
type XStatement struct {
XpStmt unsafe.Pointer
XpNext unsafe.Pointer
} // t22 struct{pStmt *struct{},pNext *struct{}}
XStress2Ctx
type XStress2Ctx struct {
XzDb *int8
XxProc func(*crt.TLS, unsafe.Pointer, unsafe.Pointer, int32)
} // t26 struct{zDb *int8,xProc *func(*struct{},*struct{},int32)}
XThread
type XThread struct {
XiTid int32
XpArg unsafe.Pointer
Xtid uint64
XxProc func(*crt.TLS, int32, unsafe.Pointer) *int8
XpNext unsafe.Pointer
} // t23 struct{iTid int32,pArg *struct{},tid uint64,xProc *func(int32,*struct{})*int8,pNext *struct{}}
XThreadset
type XThreadset struct {
XiMaxTid int32
XpThread unsafe.Pointer
} // t24 struct{iMaxTid int32,pThread *struct{}}
XmultiplexConn
type XmultiplexConn struct {
Xbase bin.Xsqlite3_file
XpGroup unsafe.Pointer
} // t17 struct{base struct{pMethods *struct{}},pGroup *struct{}}
XmultiplexGroup
type XmultiplexGroup struct {
XaReal unsafe.Pointer
XnReal int32
XzName *int8
XnName int32
Xflags int32
XszChunk uint32
XbEnabled uint8
XbTruncate uint8
} // t15 struct{aReal *struct{},nReal int32,zName *int8,nName int32,flags int32,szChunk uint32,bEnabled uint8,bTruncate uint8}