Add missing ICANON features

This commit is contained in:
Justine Tunney 2024-09-05 03:17:19 -07:00
parent dd8544c3bd
commit 03875beadb
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
22 changed files with 526 additions and 251 deletions

View file

@ -98,14 +98,14 @@ static int _forker(uint32_t dwCreationFlags) {
struct timespec started;
int ax, dx, tid, parent;
parent = __pid;
started = timespec_real();
started = timespec_mono();
_onfork_prepare();
if (!IsWindows()) {
ax = sys_fork();
} else {
ax = sys_fork_nt(dwCreationFlags);
}
micros = timespec_tomicros(timespec_sub(timespec_real(), started));
micros = timespec_tomicros(timespec_sub(timespec_mono(), started));
if (!ax) {
// get new process id