Boost logo

Boost Users :

Subject: Re: [Boost-users] thread-safe ref-counted objects
From: John Dlugosz (JDlugosz_at_[hidden])
Date: 2009-05-15 11:08:05


> Date: Tue, 12 May 2009 19:17:47 +0300
> From: Igor R <boost.lists_at_[hidden]>
> Subject: [Boost-users] [boost-users][signals2] thread-safe
> disconnection for intrusively ref-counted objects
> To: boost-users_at_[hidden]
> Message-ID:
> <cfe0a3cf0905120917u55751463i566d0e96b420c011_at_[hidden]>
> Content-Type: text/plain; charset=UTF-8
>
> Is there any trick or customization that would allow the subj?
> I mean the following situation:
>

I have a set of reference-counting pointer classes that are designed
specifically for cross-thread use. It *expects* to be incremented and
decremented on different threads at the same time.

<http://github.com/jdlugosz/repertoire>
<http://www.dlugosz.com/Repertoire/refman/Classics/Smart%20Pointers%20Ov
erview.html#toptop> probably doesn't tell you anything you don't already
know, since it was just assumed that everything would be thread-safe and
doesn't consider that an "issue".
<http://www.dlugosz.com/Repertoire/refman/Classics/handle_guide.html#thr
eads> goes over the thread features.
Feel free to abscond with or borrow any of the code or ideas therein, if
it helps you.

--John
(sorry about the footer; not my choice)

TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.


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