
30 Nov
2009
30 Nov
'09
7:34 a.m.
I have a question. I understand we need fibers::mutex and fibers::condition_variable, but could you explain why do we need a separated fibers::lock_guard and fibers::unique_lock template classes? Why the ones from Boost.Thread are not usable in the fiber context, at the end the Mutex parameter can be any model of lockable?
IT's a question of task - I was not shure if I should intermix the thread namespace with the fiber namespace. If the locks are gerneric enought we could share it between thread/fiber/interprocess. -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser