Boost Users :
Subject: Re: [Boost-users] [xpressive] is regex_match threadsafe?
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2009-03-18 10:41:22
On Wed, Mar 18, 2009 at 3:25 PM, Sergey Skorokhodov
> Is it safe to call regex_match with the same cregex|sregex object from
> different threads? Or should each thread use its own cregex|sregex object?
> Sergey Skorokhodov
I see in the docs that regex param is passed as a reference to the const
object, therefore calling regex_match from different threads is thread safe
for regex (cregex|sregex) object instances.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net