Boost logo

Boost :

From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2022-04-04 12:44:52


On 4/4/22 11:14, Daggumati, Rajesh via Boost wrote:
> Hi Team,
> boost::recursive_mutex::scoped_lock behavior is same in linux and windows?
>
> I am getting some delay in my project which is in windows but same project in linux is not getting delayed.

You can see the implementation, the source code is open.

Multithreading primitives are implemented differently on different
systems since the underlying OS APIs are different. There are no
performance guarantees. That said, I would not expect drastic
performance differences caused specifically by the mutex type. I would
recommend you to profile your code to see where the performance
difference comes from.

> Regards,
> Rajesh D
> Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment.

Please, avoid posting signatures like the above when posting to a public
mailing list.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk