Boost logo

Boost :

Subject: Re: [boost] [fiber] new version in vault
From: Oliver Kowalke (k-oli_at_[hidden])
Date: 2009-11-30 02:34:24

> 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!

Boost list run by bdawes at, gregod at, cpdaniel at, john at