| Commit message (Expand) | Author | Age | Files | Lines |
* | Untabify posix-w32.c | Eli Zaretskii | 2016-07-25 | 1 | -302/+302 |
* | Improve process handling on MS-Windows...* libguile/posix-w32.c: Include gc.h and threads.h.
(proc_record): New structure tag.
<procs, proc_size>: New static variables.
(find_proc, proc_handle, record_proc, delete_proc): New utility
functions.
(start_child): Return value is now pid_t, as it is on Posix
platforms. Record the new process and returns its PID, instead of
returning a handle. Fix the recursive call.
(waitpid, kill, getpriority, setpriority, sched_getaffinity)
(sched_setaffinity): Look up the PID in the recorded subprocesses
before trying to open a process that is not our subprocess. Make
sure any open handle is closed before returning, unless it's our
subprocess.
| Eli Zaretskii | 2016-07-25 | 1 | -17/+216 |
* | Update uname implementation in posix-w32...* libguile/posix-w32.c (uname): Update to modern processors (ia64 and
x86_64) and OS versions (Vista to Windows 10). Delete trailing
whitespace.
| Eli Zaretskii | 2016-07-25 | 1 | -8/+27 |
* | Add POSIX shims for MinGW...* libguile/posix-w32.h:
* libguile/posix-w32.c (kill, waitpid, getpriority, setpriority)
(sched_getaffinity, sched_setaffinity): Add MinGW implementations.
Also, provides macros that on Posix hosts are in sys/wait.h, like
WIFEXITED and WTERMSIG.
(start_child): Add implementation.
| Eli Zaretskii | 2016-07-25 | 1 | -1/+863 |
* | Rename win32-uname.[ch] to posix-w32.[ch]...* libguile/posix-w32.c:
* libguile/posix-w32.h: Rename from win32-uname.c and win32-uname.h.
* libguile/posix.c:
* libguile/Makefile.am
(EXTRA_libguile_@GUILE_EFFECTIVE_VERSION@_la_SOURCES)
(noinst_HEADERS): Adapt.
| Andy Wingo | 2016-07-25 | 1 | -0/+146 |