[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] multiple instances of readline
From: |
Chet Ramey |
Subject: |
Re: [Bug-readline] multiple instances of readline |
Date: |
Mon, 03 Nov 2014 11:53:12 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
On 11/1/14, 11:27 AM, Pedro Alves wrote:
> Hey there,
>
> I'm pondering how to make GDB have multiple open command line
> consoles simultaneously, each with its own history, with fully
> functional GDB command completion, etc.
>
> Was there ever any attempt at making it possible to have multiple
> instances of readline in the same process?
There hasn't been any effort to make readline thread-aware or thread-
safe. There aren't really any users to test the current behavior and
improve it. As you noted, rl_{save,restore}_state is a step in that
direction, but nobody uses it.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/