1. 09 9月, 2019 1 次提交
  2. 05 9月, 2019 5 次提交
  3. 04 9月, 2019 1 次提交
  4. 30 8月, 2019 1 次提交
  5. 29 8月, 2019 6 次提交
  6. 26 8月, 2019 3 次提交
  7. 24 8月, 2019 8 次提交
  8. 23 8月, 2019 3 次提交
  9. 22 8月, 2019 6 次提交
  10. 21 8月, 2019 2 次提交
  11. 19 8月, 2019 1 次提交
  12. 18 8月, 2019 3 次提交
    • weixin_48148422's avatar
      fix issue #367 · 641ee305
      weixin_48148422 提交于
      the basic idea is to change clean up procedure to 2 steps,
      the 1st step only marks the time controller as to be cleaned up,
      the 2nd step executes in the timer thread and does the
      actual job to avoid race.
      
      I also change `pCtrl->ticks = rand() / pCtrl->maxTicks` to
      `pCtrl->ticks = rand() % pCtrl->maxTicks`, because I think
      this is a typo but not sure about this.
      641ee305
    • weixin_48148422's avatar
      #368: fix 2 issues in tmrMemPool · 2e864954
      weixin_48148422 提交于
      2e864954
    • weixin_48148422's avatar
      improve memory pool · a97aac4e
      weixin_48148422 提交于
      1. fix memory leak:
      `memset(&pool_p, 0, sizeof(pool_p))` sets the pointer to NULL,
      so `free(pool_p)` does nothing.
      2. improve performance by move some code to the outside of the lock.
      a97aac4e