libgo icon indicating copy to clipboard operation
libgo copied to clipboard

如果我使用了这个库,是不是我的mysql所有操作,自动就协程化了?同步写代码,实际已经异步i/o。

Open xs-411 opened this issue 2 years ago • 1 comments

如果我使用了这个库,是不是我的mysql所有操作,自动就协程化了?同步写代码,实际已经异步i/o。

xs-411 avatar Mar 31 '23 10:03 xs-411

是的,底层会自动hook你的耗时操作,比如网络io发自我的 iPhone在 2023年3月31日,18:51,secret @.***> 写道: 如果我使用了这个库,是不是我的mysql所有操作,自动就协程化了?同步写代码,实际已经异步i/o。

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

hnwyllmm avatar Mar 31 '23 12:03 hnwyllmm