From: <ag...@us...> - 2011-11-18 18:39:37
|
Revision: 2613 http://zoolib.svn.sourceforge.net/zoolib/?rev=2613&view=rev Author: agreen Date: 2011-11-18 18:39:31 +0000 (Fri, 18 Nov 2011) Log Message: ----------- Add a shareable caller. Modified Paths: -------------- trunk/zoolib/source/cxx/zoolib/ZCaller_Thread.h Modified: trunk/zoolib/source/cxx/zoolib/ZCaller_Thread.h =================================================================== --- trunk/zoolib/source/cxx/zoolib/ZCaller_Thread.h 2011-11-18 18:38:56 UTC (rev 2612) +++ trunk/zoolib/source/cxx/zoolib/ZCaller_Thread.h 2011-11-18 18:39:31 UTC (rev 2613) @@ -57,6 +57,12 @@ } return false; } + + static ZRef<ZCaller_Thread> sCaller() + { + static ZRef<ZCaller_Thread> spCaller = new ZCaller_Thread; + return spCaller; + } }; } // namespace ZooLib This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |