Re: orbit-io-thread ?
- From: Jules Colding <colding omesc com>
- To: "Gustavo J. A. M. Carneiro" <gjc inescporto pt>
- Cc: ORBit2 <orbit-list gnome org>
- Subject: Re: orbit-io-thread ?
- Date: Mon, 21 Feb 2005 16:58:54 +0100
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:
> >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.
] [Thread Prev