Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
多协程操作同一个table的对象
soaercom
hello
在OR中,多个协程操作同一个对象,怎么做到同步安全呢?
cuiweixie
如果没有resume yield 跟socket之类的会导致挂起的操作,是不需要考虑,因为nginx是多进程 单线程模型的
在 2016年8月24日星期三 UTC+8下午3:59:14,刘振兴写道:
hello
在OR中,多个协程操作同一个对象,怎么做到同步安全呢?
soaercom
在 2016年8月24日星期三 UTC+8下午4:27:46,xie cui写道:
>>如果没有resume yield 跟socket之类的会导致挂起的操作,是不需要考虑,
因为nginx是多进程 单线程模型的
现在全部都是 socket 连接