29 Jul
2009
29 Jul
'09
2:43 p.m.
jp wrote:
On Jul 28, 8:14 pm, "Diederick C. Niehorster"
The problem I have with my implementation is that what I really want is a thread-local singleton. If I have to make the access threadsafe, then I may be better off recreating it every time. Any ideas on how best to do this? Could it be done with the boost::serialization singleton? My guess is that it may be possible by using the loki creation policy, but I have no idea how to go about doing it.
See for example http://www.boostcookbook.com/Recipe:/1235044 --> Mika Heiskanen