Re: orbit-io-thread ?

Jules Colding <[email protected]>
Newsgroups gmane.comp.gnome.orbit.general
Organization OMC Denmark ApS
Message-ID <[email protected]>
On Mon, 2005-02-21 at 16:58 +0100, Jules Colding wrote:
> On Mon, 2005-02-21 at 14:34 +0000, Gustavo J. A. M. Carneiro wrote:
> > On Mon, 2005-02-21 at 13:16 +0100, Jules Colding wrote:
> > >Hi,
> > >
> > >What is the idea behind this magical string? Shouldn't we use an orb
> > >command line option instead?
> > >
> > >Please yell if the following patch shouldn't be committed.
> > 
> >   /me yells.
> > 
> >   Whether or not to use MT-safe ORB should be under programmer control,
> > not the user.  What happens if the user activates MT ORB but the
> > application is not prepared to handle threads?  You get nasty bugs,
> > that's for sure.
> 
> Not really a good argument. It is always possible (and I would say
> prudent) for the programmer to scan the command line before calling
> ORB_init(). That is really the only way to ensure that the ORB is
> initiated with the exact set of arguments that the programmer wants.

and, BTW, we could always introduce the command line argument but keep
the magic string and emit a warning if there is a concern of application
compatibility. 

Is that a scenario that you could live with?

Best regards,
  jules
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.