diff options
author | Michael Gran <spk121@yahoo.com> | 2023-06-20 15:46:35 -0700 |
---|---|---|
committer | Michael Gran <spk121@yahoo.com> | 2025-03-22 21:57:59 -0700 |
commit | adbf2156ab5939e6909e035017995ba555886dc2 (patch) | |
tree | 4dc0d941cd0fb506483e7398d5112304bfe363c1 /module | |
parent | 2e51d3fa26e492c00e88b47005568a4c21582dfe (diff) | |
download | guile-adbf2156ab5939e6909e035017995ba555886dc2.tar.gz |
Remove posix-w32 subsitutes that require access to process handles
Now that Guile uses the posix_spawn gnulib module, several of Guile's
custom w32 functions substitutes no longer work. Some functions
relied on populating and maintaining an internal PID-to-Handle database,
which is no longer possible.
kill, getpriority, setpriority, getaffinity and setaffinity
are removed. waitpid is simplified and does not handle ENOHANG.
* NEWS: updated
* libguile/posix-w32.c (struct proc_record, find_proc, proc_handle): removed
(record_proc, delete_proc, prepare_child_handle, compenv): removed
(prepare_envblk, lookup_cmd, prepare_cmdline, start_child): removed
(kill, getpriority, setpriority, sched_getaffinity): removed
(sched_setaffinity): removed
(waitpid): modified to just use _cwait. ENOHANG emlation removed.
* libguile/posix-w32.h (CPU_ZERO, CPU_ISSET, CPU_SET, CPU_SETSIZE): removed
(cpu_set_t, PRIO_PROCESS, PRIO_PGRP, PRIO_USER): removed
(HAVE_START_CHILD, HAVE_KILL, HAVE_GETPRIORITY): removed
(HAVE_SETPRIORITY, HAVE_SCHED_GETAFFINITY, HAVE_SCHED_SETAFFINITY): removed
declarations for waitpid, start_child, kill, getpriority: removed
declarations for setpriority, sched_getaffinity, sched_set_affinity: Removed
Diffstat (limited to 'module')
0 files changed, 0 insertions, 0 deletions