[omniORB] Timing stats

Luke Deller ldeller at xplantechnology.com
Wed Jul 5 11:08:31 BST 2006


Hi Olivier,

> I can use the createThread interceptor to add a new thread to the list of
> worker threads being monitored but, unless I missed something, there is
> no available interceptor for thread stop.
 
Actually you can the same interceptor for both.  Your createThread interceptor function is required to call the run() method of the passed info_T instance; so you do your initialisation work before calling run(), and your cleanup work afterwards.

In case you didn't see the docs, they're here:
http://omniorb.sourceforge.net/omni40/omniORB/omniORB010.html#toc49

Regards,
Luke.

**********************************************************************************************

Important Note
This email (including any attachments) contains information which is
confidential and may be subject to legal privilege.  If you are not
the intended recipient you must not use, distribute or copy this
email.  If you have received this email in error please notify the
sender immediately and delete this email. Any views expressed in this
email are not necessarily the views of XPlan Technology.

It is the duty of the recipient to virus scan and otherwise test the
information provided before loading onto any computer system.
Xplan Technology does not warrant that the
information is free of a virus or any other defect or error.
**********************************************************************************************




More information about the omniORB-list mailing list