[omniORB] non-threaded clients
Duncan Grisby
duncan@grisby.org
Wed Feb 12 11:30:02 2003
On Tuesday 11 February, Matthew Bettencourt wrote:
> I am doing work on an SGI and I have the need to have clients that use
> openMP. Now, there is a problem with mixing openMP and pthreads on the
> SGI, i.e, it is not allowed and the code will die. Now, is there any
> way to build omniORB w/o threads for just the client side of things?
No, omniORB always uses some threads, to look after cached TCP
connections and things like that.
> I noticed that there are other threading specs in the omnithread lib.
> Are there any others floating around?? Maybe one using semaphores?? (this
> is what openMP is using for its locks on the SGI) I guess I could write
> one but I am hoping to avoid that. The other option is to replace the
> client side CORBA with something like mico.
You could write a version of omnithread that uses openMP instead of
pthreads, as long as all the omnithread facilities are available or
can be implemented with what is available. omnithread is a pretty
simple thing, so it shouldn't be too hard.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan@grisby.org --
-- http://www.grisby.org --