[omniORB] Does an omniorb servant use omnithreads?

Gustavo Madrigal linux_news@nextphere.com
Sat Jun 8 03:08:00 2002


I am writing a test servant using omniORB 3.0.4 with some sychronization 
using omnithreads. As I understand omni_mutex cannot be lock by a thread and 
unlocked by another [1]. So I am going to use a workaround which requires a 
servant method to call yield(). Is every servant thread an omnithread? If so, 
how can I get a pointer to the current omnithread?

---------------------------------------------------
1. http://omniorb.sourceforge.net/omni30/omnithread.html
----------------------------------------------------

Thanks,

-- 
---------------------------------------------------------------------
Gustavo Madrigal
---------------------------------------------------------------------