summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin
Commit message (Collapse)AuthorAgeFilesLines
...
* * pinfo.cc (set_myself): Add build date to strace output.Christopher Faylor2000-02-283-1/+12
| | | | | * sigproc.cc (proc_subproc): Only clear wait event when not attending to a signal.
* Fix typo.Christopher Faylor2000-02-281-1/+0
|
* Fix sysname.Christopher Faylor2000-02-281-1/+1
|
* * configure.in: Remove --enable-strace-hhmmss option.Christopher Faylor2000-02-283-86/+55
| | | | * configure: Regenerate.
* * dcrt0.cc (set_os_type): Record OS name string.Christopher Faylor2000-02-287-152/+109
| | | | | | | | | | | | | | | | | | (getprogname): Eliminate obsolete function. (dll_crt0_1): Move initial strace initialization output to set_myself. * exceptions.cc (interruptible): Add debugging output. (interrupt_setup): New function. (interrupt_now): Use interrupt_setup to set up common interrupt handler stuff. (interrupt_on_return): Ditto. (call_handler): Move signal_arrived arm and clear threads to region where signalled thread is suspended or suffer races. * pinfo.cc (set_myself): Output interesting information when strace is first initialized. Initialize progname here. * sigproc.cc (sig_dispatch_pending): Modify to ensure that flush signal are sent synchronously. * strace.cc (strace_vsprintf): Move code into strace program. * uname.cc (uname): Use 'osname' global to construct cygwin name + Windows type + version.
* Bump minor version numberChristopher Faylor2000-02-261-1/+2
|
* Change fork/exec magic number.Christopher Faylor2000-02-261-1/+1
|
* Remove unneeded include.Christopher Faylor2000-02-261-1/+0
|
* * exceptions.cc (interruptible): Make a little more structured.Christopher Faylor2000-02-2611-47/+78
| | | | | | | | | | | | | (call_handler): Allow signals to be sent even if signalled thread is stopped. Change order of signal_arrived arming/waiting threads clearing to eliminate a race. (reset_signal_arrived): New helper function. * malloc.cc (malloc_init): Use mutos so that signal handler can keep track of who owns the lock. (__malloc_lock): Ditto. (__malloc_unlock): Ditto. * sync.h (new_muto): Actually use a muto for the "buffer". * Makefile.in: Fix a dependency.
* * Makefile.in: fix "make check" support and cygrun.DJ Delorie2000-02-262-2/+6
|
* Eliminate RCS stuff.Christopher Faylor2000-02-241-6/+0
|
* *** empty log message ***Christopher Faylor2000-02-241-1/+1
|
* * syscalls.c (_read): Clear errno before doing any read operation.Christopher Faylor2000-02-242-0/+5
|
* * exceptions.cc (call_handler): Use new muto linked list to look for allChristopher Faylor2000-02-245-12/+36
| | | | | | | | potential mutos owned by suspended thread. Clear waiting threads while thread is stopped. (proc_subproc): Clarify debugging output. * sync.h (class muto): Add 'next' field. (new_muto): Keep linked list alive.
* Fix final round of gcc warnings relating to unused parameters.Christopher Faylor2000-02-249-26/+65
| | | | | | | | | | | | | | * debug.cc (iscygthread): New function. * debug.h: Declare it. * exceptions.cc (set_process_mask): Flush pending signals. (handle_sigsuspend): No need to flush pending signals. (call_handler): Refine previous tests of muto ownership. Only clear wait()'s when we have definitely responded to a signal. * fhandler_console.cc (fhandler_console::read): Don't set EINTR if executing in a "cygwin" thread. * sigproc.cc (proc_subproc): Use second argument to control whether CLEARWAIT actually sets "signalled" flag. * sync.h (muto): Add 'unstable' method.
* Fix final round of gcc warnings relating to unused parameters.Christopher Faylor2000-02-244-9/+13
|
* Remove RCS cruft.Christopher Faylor2000-02-241-6/+0
|
* * hinfo.cc (hinfo::extend): Clean up debugging output.Christopher Faylor2000-02-242-3/+5
|
* * exceptions.cc (interruptible): Change method for determining if something isChristopher Faylor2000-02-2417-85/+153
| | | | | | | | | | | | | | interruptible. (call_handler): Avoid suspending a thread if it owns a mutex. Only set signal_arrived if the thread was actually interrupted. (events_init): Initialize module information needed by interruptible(). (sigdelayed): Don't call sig_dispatch_pending since it could screw up * init.cc (dll_entry): Record module handle of main for use by interruptible(). (proc_subproc): Reorganize handling of terminated child so that the bulk of the processing comes from the signal thread. (wait_sig): Force processing of waiting threads if SIGCHLD is not processed. * sync.cc (muto::release): Set tid == 0 after lock is released or signal processor will be confused.
* Respond to more g++ warnings relating to initializing structures.Christopher Faylor2000-02-239-19/+22
|
* * fhandler.cc (set_inheritance): Revert previous patch which got rid of 'name'Christopher Faylor2000-02-212-1/+6
| | | | parameter.
* Respond to a multitude of g++ warnings.Christopher Faylor2000-02-2130-109/+106
|
* Update.Christopher Faylor2000-02-212-0/+42
|
* * environ.cc (getwinenv): Make __stdcall.Christopher Faylor2000-02-214-17/+41
| | | | | | | (winenv): Ditto. * malloc.cc (strdup): New function. Occludes newlib version. (_strdup_r): Ditto. * winsup.h: Reflect above __stdcall changes.
* *** empty log message ***Corinna Vinschen2000-02-212-0/+9
|
* import winsup-2000-02-17 snapshotChristopher Faylor2000-02-17178-0/+59860
|
* import winsup-2000-02-17 snapshotChristopher Faylor2000-02-1725-0/+5784