[Add] Add lock to make public methods of gateway thread-safe
[Add] Add lock to make public methods of gateway thread-safe

andrewchenshx/vnpy,bigdig/vnpy,msincenselee/vnpy,vnpy/vnpy,vnpy/vnpy,andrewchenshx/vnpy,msincenselee/vnpy,bigdig/vnpy,bigdig/vnpy,andrewchenshx/vnpy,andrewchenshx/vnpy,bigdig/vnpy,msincenselee/vnpy,msincenselee/vnpy,andrewchenshx/vnpy