- one could create trampolines in a separate area of memory. In
such case there is trouble with dealocating no longer needed
trampolines. This trouble can be resolved by using GC. Or
by using a parallel stack dedicated to trampolines.
Waldek Hebisch <antispam@fricas.org> schrieb:
- one could create trampolines in a separate area of memory. In
such case there is trouble with dealocating no longer needed
trampolines. This trouble can be resolved by using GC. Or
by using a parallel stack dedicated to trampolines.
[...]
gcc has -ftrampoline-impl=[stack|heap], see https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html
Don't longjmp out of a nested function though.
Thomas Koenig <tkoenig@netcologne.de> posted:
Waldek Hebisch <antispam@fricas.org> schrieb:
- one could create trampolines in a separate area of memory. In
such case there is trouble with dealocating no longer needed
trampolines. This trouble can be resolved by using GC. Or
by using a parallel stack dedicated to trampolines.
[...]
gcc has -ftrampoline-impl=[stack|heap], see
https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html
Don't longjmp out of a nested function though.
Or longjump around subroutines using 'new'.
Or longjump out of 'signal' handlers.
MitchAlsup <user5857@newsgrouper.org.invalid> writes:
Or longjump out of 'signal' handlers.
Again, one must take the appropriate care. Such as
using the correct API (e.g. POSIX siglongjmp(2)).
It is quite common to use siglongjmp to leave
a SIGINT (Control-C) handler.
scott@slp53.sl.home (Scott Lurndal) writes:
MitchAlsup <user5857@newsgrouper.org.invalid> writes:
Or longjump out of 'signal' handlers.
Again, one must take the appropriate care. Such as
using the correct API (e.g. POSIX siglongjmp(2)).
The restrictions on siglongjmp() when jumping out of signal handlers
are the same as for longjmp(). See the section "Application Usage" in >https://pubs.opengroup.org/onlinepubs/9799919799/functions/longjmp.html
The only difference is that sigsetjmp() saves the signal mask and >siglongjmp() restores it.
Same here (tho I was on team Debian), but I don't think GNU/Linux
enthusiasts were the main buyers of those Opteron and
Athlon64 machines.
On 31.08.2025 16:43 Uhr Stefan Monnier wrote:
Same here (tho I was on team Debian), but I don't think GNU/Linux
enthusiasts were the main buyers of those Opteron and
Athlon64 machines.
Athlon 64 machines were mostly shipped with Windows XP 32 bit - even
when XP 64 bit existed for that architecture.
On 2025-09-21, Marco Moock wrote:
On 31.08.2025 16:43 Uhr Stefan Monnier wrote:
Same here (tho I was on team Debian), but I don't think GNU/Linux
enthusiasts were the main buyers of those Opteron and
Athlon64 machines.
Athlon 64 machines were mostly shipped with Windows XP 32 bit - even
when XP 64 bit existed for that architecture.
Which one was NT 5.2 and not 5.1? XP for IA-64 or XP for amd64?
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,075 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 100:27:35 |
| Calls: | 13,798 |
| Calls today: | 1 |
| Files: | 186,990 |
| D/L today: |
8,356 files (2,346M bytes) |
| Messages: | 2,438,709 |