omnithread library

Brian Burton brian.burton@burton-computer.com
Wed, 28 May 1997 08:29:58 -0400


Adriaan Joubert wrote:
> 
> As Brian said, a class for locking/unlocking mutexes would be nice, and the
> incorporation of exceptions into the library is essential to make it
> generally useful.
> 
> While we appreciate Tristan's reservations about changing any APIs at this
> stage, we would strongly support the development of an updated threads
> library. If it would be possible to agree on an API that would be amenable
> to the omniORB developers, an omniThread library would attract a lot of
> support from the users, i.e. we would definitely be prepared to put some
> development effort into the library if this would help.
> 

I would also be willing to assist in modifying omniORB to properly catch
exceptions generated by the omnithread library.

As an alternative to a "big bang" conversion, perhaps we could develop a
new set of omnithread classes that internally use the old classes and
generate exceptions when errors are detected.  If the new classes could
be constructed using the old classes and had necessary type conversion
operators, they could be plugged in to old code fairly easily.  This
might allow us to change over to using exceptions more gradually.

++Brian

-- 
Brian Burton                          Custom Software Development
Burton Computer Corporation           Java, C++, Orbix, Tuxedo
brian.burton@burton-computer.com      OO Consulting and Mentoring