[tarantool-patches] Re: [PATCH 11/25] vinyl: store pointer to scheduler in struct vy_task

  • From: Konstantin Osipov <kostja@xxxxxxxxxxxxx>
  • To: Vladimir Davydov <vdavydov.dev@xxxxxxxxx>
  • Date: Tue, 31 Jul 2018 23:49:32 +0300

* Vladimir Davydov <vdavydov.dev@xxxxxxxxx> [18/07/27 16:55]:

Currently, we don't really need it, but once we switch communication
channel between the scheduler and workers from pthread mutex/cond to
cbus (needed for #2129), tasks won't be completed on behalf of the
scheduler fiber and hence we will need a back pointer from vy_task to
vy_scheduler.


I have already approved it in the earlier version of this patch
set.

-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov

Other related posts: