3 ms·
Thanks for that, I had no idea. Were those actual shared-state threads or processes? Just wondering about the use of "fork".
by cgh 11y ago
Thanks for that, I had no idea. Were those actual shared-state threads or processes? Just wondering about the use of "fork".
- Animats 11y agoShared-state threads in the same memory space. They could do I/O independently, lock and unlock critical sections, and block on semaphores. Worked fine. To create a new thread, you called FORK$. See section 8, page 2, of the 1966 EXEC 8 manual.[1] Here are Djykstra's P and V functions for the UNIVAC 1108, to run in user space. Written in 1972.[2] I once added support for threads to Pascal for that machine. Had to add per-thread stacks and manage non-contiguous stack growth. [1] https://ia601603.us.archive.org/27/items/bitsavers_univac1100tiveReferenceManual1966_36328697/UP-4144_1108_Executive_Reference_Manual_1966.pdf https://ia601603.us.archive.org/27/items/bitsavers_univac110... [2] http://www.fourmilab.ch/documents/univac/fang/ http://www.fourmilab.ch/documents/univac/fang/