cosmopolitan/libc/zipos
Justine Tunney 80b211e314 Add raw memory visualization tool to redbean
This change introduces a `-W /dev/pts/1` flag to redbean. What it does
is use the mincore() system call to create a dual-screen terminal
display that lets you troubleshoot the virtual address space. This is
useful since page faults are an important thing to consider when using a
forking web server. Now we have a colorful visualization of which pages
are going to fault and which ones are resident in memory.

The memory monitor, if enabled, spawns as a thread that just outputs
ANSI codes to the second terminal in a loop. In order to make this
happen using the new clone() polyfill, stdio is now thread safe.

This change also introduces some new demo pages to redbean. It also
polishes the demos we already have, to look a bit nicer and more
presentable for the upcoming release, with better explanations too.
2022-05-14 04:33:58 -07:00
..
close.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
fcntl.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
find.c Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
fstat.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
get.c Fix bugs and make improvements 2022-04-20 10:05:34 -07:00
lseek.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
notat.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
open.c Improve synchronization 2022-04-15 15:31:55 -07:00
parseuri.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
read.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
stat-impl.c Fix some issues with zipos and redbean 2022-03-21 07:36:36 -07:00
stat.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
zipos.internal.h Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
zipos.mk Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
zipos.S Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00