Boost logo

Boost :

Subject: Re: [boost] [msm] Async transition
From: Dave Abrahams (dave_at_[hidden])
Date: 2010-08-27 17:32:20

On Thu, Aug 26, 2010 at 12:14 PM, Christophe Henry
<christophe.j.henry_at_[hidden]> wrote:
> I could replace:
> lock() // whatever you need for locking
> fsm.process_event(event());
> unlock();
> by:
> fsm.process_event();
> where process_event would lock at the beginning and unlock at the end,
> but it seems pretty limited.

It also prematurely imposes a locking granularity that may not be
appropriate for all applications.

Dave Abrahams
BoostPro Computing

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