Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: Allowing traps
- X-seq: zsh-workers 13188
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: Re: Allowing traps
- Date: Thu, 23 Nov 2000 22:05:39 +0000
- In-reply-to: <0G4H00BMAYYZB4@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <0G4H00BMAYYZB4@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Nov 23, 9:42pm, Peter Stephenson wrote:
}
} Bart wrote:
} > We could start by wrapping every function in mem.c with queue_signals()/
} > unqueue_signals().
}
} We did something pretty similar some time ago (1992?) --- the performance
} hit was ghastly, so we removed it.
You'll note that the ZSH_MEM malloc() and zhalloc() both already have some
sections in queue_signals(). What I'm suggesting is that other operations
that manipulate the heap pointers should be similarly protected.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author