cosmopolitan/libc/nt
Justine Tunney db33973e0a Get fork() working on Windows
This is done without using Microsoft's internal APIs. MAP_PRIVATE
mappings are copied to the subprocess via a pipe, since Microsoft
doesn't want us to have proper COW pages. MAP_SHARED mappings are
remapped without needing to do any copying. Global variables need
copying along with the stack and the whole heap of anonymous mem.
This actually improves the reliability of the redbean http server
although one shouldn't expect 10k+ connections on a home computer
that isn't running software built to serve like Linux or FreeBSD.
2020-11-13 03:14:39 -08:00
..
KernelBase Make minor improvements 2020-11-09 15:41:11 -08:00
MsWSock Initial import 2020-06-15 07:18:57 -07:00
advapi32 Initial import 2020-06-15 07:18:57 -07:00
comdlg32 Initial import 2020-06-15 07:18:57 -07:00
enum Get fork() working on Windows 2020-11-13 03:14:39 -08:00
gdi32 Initial import 2020-06-15 07:18:57 -07:00
kernel32 Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
netapi32 Initial import 2020-06-15 07:18:57 -07:00
nt Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
ntdll Initial import 2020-06-15 07:18:57 -07:00
shell32 Initial import 2020-06-15 07:18:57 -07:00
struct Get fork() working on Windows 2020-11-13 03:14:39 -08:00
thunk Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
typedef Get fork() working on Windows 2020-11-13 03:14:39 -08:00
url Initial import 2020-06-15 07:18:57 -07:00
user32 Get fork() working on Windows 2020-11-13 03:14:39 -08:00
ws2_32 Initial import 2020-06-15 07:18:57 -07:00
accounting.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
automation.h Initial import 2020-06-15 07:18:57 -07:00
codegen.h Initial import 2020-06-15 07:18:57 -07:00
codegen.sh Initial import 2020-06-15 07:18:57 -07:00
console.h Initial import 2020-06-15 07:18:57 -07:00
createfile.h Initial import 2020-06-15 07:18:57 -07:00
debug.h Initial import 2020-06-15 07:18:57 -07:00
dll.h Get fork() working on Windows 2020-11-13 03:14:39 -08:00
errors.h Initial import 2020-06-15 07:18:57 -07:00
events.h Get fork() working on Windows 2020-11-13 03:14:39 -08:00
files.h Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
iocp.h Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
ipc.h Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
master.sh Get fork() working on Windows 2020-11-13 03:14:39 -08:00
memory.h Make minor improvements 2020-11-09 15:41:11 -08:00
messagebox.h Initial import 2020-06-15 07:18:57 -07:00
nt.mk Make minor improvements 2020-11-09 15:41:11 -08:00
ntdll.h Initial import 2020-06-15 07:18:57 -07:00
ntdllimport.S Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
ntdllimport.h Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
paint.h Get fork() working on Windows 2020-11-13 03:14:39 -08:00
pedef.h Initial import 2020-06-15 07:18:57 -07:00
privilege.h Initial import 2020-06-15 07:18:57 -07:00
process.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
registry.h Initial import 2020-06-15 07:18:57 -07:00
runtime.h Initial import 2020-06-15 07:18:57 -07:00
signals.h Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
startupinfo.h Initial import 2020-06-15 07:18:57 -07:00
synchronization.h Get fork() working on Windows 2020-11-13 03:14:39 -08:00
systeminfo.h Make minor improvements 2020-11-09 15:41:11 -08:00
thread.h Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00
windows.h Get fork() working on Windows 2020-11-13 03:14:39 -08:00
winsock.h Make terminal ui binaries work well everywhere 2020-10-19 06:38:31 -07:00