Roger
Roger
go run server.go
GetPlayerByPid(pid.(int32)) 这个func: ```go func (wm *WorldManager) GetPlayerByPid(pid int32) *Player { wm.pLock.RLock() defer wm.pLock.RUnlock() return wm.Players[pid] } ``` 在world_manager.go里面看到所有关于player 的操作都是加锁的,在重写Handle这个方法里,不要进行任何加解锁的操作,我理解为没有在一个操作层面里面。 ```go //马上以非阻塞方式处理消息 func (mh *MsgHandle) DoMsgHandler(request ziface.IRequest) { handler, ok :=...
> Try: > > > pip uninstall opencv-python > > pip uninstall opencv-contrib-python > > pip uninstall opencv-contrib-python-headless > > Then: > > > pip3 install opencv-contrib-python==4.5.5.62 > > (_inside...
overview course note: https://github.com/adsian/OpenMMLabCourseStudy/blob/main/1.%20%E7%BB%BC%E8%BF%B0/note.md
mmpose理论课: https://github.com/adsian/OpenMMLabCourseStudy/blob/main/2.mmpose/MMPose%E7%90%86%E8%AE%BA%E8%AF%BE.md