🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.object.corba
Article #13

CORBA Thread pools, servants and interaction with VCL thread

#13
From: A Foo
Date: Tue, 19 Jun 2001 10:35
16 lines
1683 bytes
Hi,

I am using Borland C++ Builder to develop the front end to a CORBA
server application, in which I intend to setup a thread pool in which
orb->run() is invoked in each thread to service CORBA calls. My
problem however is that I am unsure how my servant implementation code
should go about accessing properties and methods belonging to the
visual objects in the application, as they are not thread safe.
Borland recommends the use of the Synchronize() member function of the
TThread class, but as far as I know, I cannot inherit from the TThread
class for my servant implementation class (which must inherit from the
CORBA generated base class) to have the Synchronize method.

Many thanks for your help in advance,

Alex
Technical Details
Message-ID: <4414d082.0106190235.68540350@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1118e6,d2514a33881071af,start
X-Google-Attributes: gid1118e6,public
X-Google-Thread: f753e,d2514a33881071af,start
X-Google-Attributes: gidf753e,public
X-Google-ArrivalTime: 2001-06-19 03:35:33 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail
From: af@orc.soton.ac.uk (A Foo)
Newsgroups: comp.object.corba,borland.public.cppbuilder.vcl
Subject: CORBA Thread pools, servants and interaction with VCL thread
Date: 19 Jun 2001 03:35:32 -0700
Organization: http://groups.google.com/
Lines: 16
Message-ID: <4414d082.0106190235.68540350@posting.google.com>
NNTP-Posting-Host: 213.120.149.57
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 992946933 4812 127.0.0.1 (19 Jun 2001 10:35:33 GMT)
X-Complaints-To: groups-support@google.com
NNTP-Posting-Date: 19 Jun 2001 10:35:33 GMT