MCPcopy Index your code
hub / github.com/Cyinx/einx / Push

Method Push

queue/rw_queue.go:42–46  ·  view source on GitHub ↗
(event interface{})

Source from the content-addressed store, hash-verified

40}
41
42func (this *RWQueue) Push(event interface{}) {
43 this.write_lock.Lock()
44 this.write_queue.push(event)
45 this.write_lock.Unlock()
46}
47
48func (this *RWQueue) Get(event_list []interface{}, count uint32) (uint32, int) {
49 this.read_lock.Lock()

Callers 15

PushEventMsgMethod · 0.45
PostEventMethod · 0.45
PostDataMethod · 0.45
RpcCallMethod · 0.45
do_push_writeMethod · 0.45
AddPingMethod · 0.45
RemovePingMethod · 0.45
NewLuaStaeFunction · 0.45
PCallMethod · 0.45
PCall2Method · 0.45
PCall3Method · 0.45
OpenOsRuntimeFunction · 0.45

Calls 3

LockMethod · 0.80
pushMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected