cosmopolitan/test/libc
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
..
alg Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
bits Add maxmind demo to redbean-demo.com 2022-03-18 15:31:54 -07:00
calls Add syscalls to Blinkenlights and fix bugs 2022-05-13 13:31:21 -07:00
dns Improve memory safety 2021-10-13 17:27:13 -07:00
fmt Polish redbean serialization 2022-04-29 06:10:10 -07:00
intrin Get threads working on all platforms 2022-05-13 03:59:09 -07:00
log Make improvements 2022-04-26 16:46:15 -07:00
mem Make improvements 2022-04-28 09:57:07 -07:00
nexgen32e Fix more things 2022-03-24 00:12:29 -07:00
rand Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
release Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
runtime Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
sock Improve synchronization 2022-04-15 15:31:55 -07:00
stdio Add zlib gzip functions 2022-05-12 12:17:40 -07:00
str Add syscalls to Blinkenlights and fix bugs 2022-05-13 13:31:21 -07:00
thread Get threads working on all platforms 2022-05-13 03:59:09 -07:00
time Revert "Use 64-bit years" 2022-05-12 06:45:36 -07:00
tinymath Fix some more reported issues 2022-04-28 20:36:33 -07:00
unicode Make numerous improvements 2021-09-28 01:52:34 -07:00
x Fix bugs and make improvements 2022-04-20 10:05:34 -07:00
xed Improve signals and memory protection 2022-04-12 22:11:00 -07:00
test.mk Fix bugs and make improvements 2022-04-20 10:05:34 -07:00