This repository has been archived by the owner on Jul 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. 引入了mutex互斥,防止多处回调同时进入同一阶段引发的混乱。 2. 当待抢队列清空后,抢先调用handler防止return后后续流程被挂起。 现在自定义名称的红包成功率已接近100%,id重复时的问题仍未很好地解决。
- Loading branch information
ZhongyiTong
committed
Oct 6, 2015
1 parent
1db8597
commit 33e5e43
Showing
2 changed files
with
40 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters