Age | Commit message (Collapse) | Author | Files | Lines |
|
exports them as __stdcall. Confirmed with gendef program.
* lib/kernel32.def (InterlockedDecrement): Revert the 2012-08-08 change.
(InterlockedIncrement): Ditto.
(InterlockedExchange): Ditto.
* include/winbase.h (InterlockedDecrement): Revert the 2012-08-01
change.
(InterlockedIncrement): Ditto.
(InterlockedExchange): Ditto.
|
|
* cygheap.cc (tls_sentry): Move here, rename from 'sentry' in cygtls.cc
(tls_sentry::lock): Ditto.
(nthreads): Move from cygtls.cc
(THREADLIST_CHUNK): Ditto.
(cygheap_init): Call init_tls_list().
(init_cygheap::init_tls_list): Define new function.
(init_cygheap::add_tls): Ditto.
(init_cygheap::remove_tls): Ditto.
(init_cygheap::find_tls): Ditto. Semi-resurrect from _cygtls::find_tls.
* cygheap.h (init_cygheap::init_tls_list): Declare new function.
(init_cygheap::add_tls): Ditto.
(init_cygheap::remove_tls): Ditto.
(init_cygheap::find_tls): Ditto.
* cygtls.cc (sentry): Delete.
(sentry::lock): Ditto.
(nthreads): Ditto.
(THREADLIST_CHUNK): Ditto.
(_cygtls::init): Delete definition.
(_cygtls::init_thread): Call cygheap->add_tls() to add thread to global list.
(_cygtls::remove): cygheap->remove_tls() to remove thread from global list.
* cygtls.h (_cygtls::init): Delete declaration.
* dcrt0.cc (dll_crt0_0): Delete call to _cygtls::init().
* exceptions.cc (sigpacket::process): When no thread is specified, try to find
one via cygheap->find_tls.
|
|
we now declare it as __cdecl.
(InterlockedIncrement): Ditto.
(InterlockedExchange): Ditto.
|
|
* mingwex/gdtoa/gd_qnan.h: Make Nan constants positive valued.
|
|
|
|
|
|
which is in libmingwex.a.
MODIFIED FROM: Use __sync_synchronize instead of
creating a function due to multiple definition.
NOTE: Not using __sync_synchronize to allow applications to mix-n-match
C libraries from different vendors.
|
|
* mingwex/Makefile.in (DISTFILES): Add membarrier.c.
(REPLACE_OBJS): Add membarrier.o.
|
|
creating a function due to multiple definition.
|
|
|
|
|
|
|
|
|
|
*pthreadlocinfo, *pthreadmbcinfo, _locale_tstruct, *_locale_t): Declare.
|
|
* include/sys/param.h (MAXPATHLEN): Make sure PATH_MAX is defined.
|
|
* include/process.h (_wexec*, _wspawn*): Declare.
|
|
|
|
(_wfdopen, _wfopen, _wfreopen, _wfsopen, _wtmpnam, _wtempnam): Ditto.
(_wrename, _wremove, _wperror, _wpopen): Ditto.
|
|
(_wcstrtoi64_l): Ditto.
(_wcstrtoui64): Ditto.
(_wcstrtoui64_l): Ditto.
|
|
(_strtoi64_l): Ditto.
(_strtoui64): Ditto.
(_strtoui64_l): Ditto.
(_wcstrtoi64): Ditto.
(_wcstrtoi64_l): Ditto.
(_wcstrtoui64): Ditto.
(_wcstrtoui64_l): Ditto.
|
|
(_cygtls::call_signal_handler): Fix test for when to pop signal stack. Only do
it exactly when what is on the stack is a no-op.
|
|
test for detecting a background process when starting a non-cygwin process.
|
|
|
|
implementation incomplete. Do not deliver it.
(amaudio.h): Ditto.
|
|
|
|
|
|
(MSG_MCAST): Define.
|
|
LONG WINAPI to LONG __cdecl to match Microsoft documentation.
(InterlockedIncrement): Ditto.
(InterlockedExchange): Ditto.
|
|
(WTSVirtualChannelOpen): Ditto.
(WTSVirtualchannelOpenEx): Ditto.
(WTSVirtualChannelPurgeInput): Ditto.
(WTSVirtualChannelPurgeOutput): Ditto.
(WTSVirtualChannelQuery): Ditto.
(WTSVirtualChannelRead): Ditto.
(WTSVirtualChannelWrite): Ditto.
* lib/wtsapi32.def (WTSVirtualChannelOpenEx@12): Add import.
|
|
(__except1): Ditto.
|
|
(tagMENUITEMINFOW): Ditto.
|
|
Add regparm attribute.
* fhandler_socket.cc (fhandler_socket::read): Call recv_internal with
second parameter set to false.
(fhandler_socket::readv): Ditto.
(fhandler_socket::recvfrom): Ditto.
(fhandler_socket::recv_internal): Convert use_recvmsg from local
variable to parameter. Use as request for using WSARecvMsg. Only
fail if WSARecvMsg can't be loaded and wsamsg->Control.len > 0,
otherwise use WSARecv{From}. Restrict dwFlags to MSG_PEEK when using
WSARecvMsg.
(fhandler_socket::recvmsg): Prefer using WSARecvMsg. Change priority
of tests for not using WSARecvMsg. Call recv_internal with second
parameter set accordingly.
|
|
patch to etc::dir_changed fixes the underlying issue.
|
|
patch to etc::dir_changed fixes the underlying issue.
|
|
called under lock condition anyway.
|
|
variable. Explain why. Add a muto to guard overwriting the changed_h
handle by multiple concurrent threads.
* path.h (class etc): Drop unused changed_h member.
|
|
__MINGW_MINOR_VERSION and __MINGW_PATCHLEVEL deprecating the __MINGW32_*
versions of the macros.
* configure.in: Use __MINGW_VERSION instead of __MINGW32_VERSION.
* configure: Ditto.
|
|
bitness specified when _WIN64 is defined.
|
|
_WIN64 is defined.
|
|
problem.
* cygwin/winlean.h: Define constant which will be needed eventually. Remove
hack in favor of another hack.
* cygwin/lib/crt0.h: Use "winlean.h".
|
|
* winsup.h: Remove ancient debugging defines.
|
|
* exceptions.cc (sig_handle_tty_stop): Make sure that incyg is cleared when
exiting if we have no parent process. Only wait for signal_arrived.
(sigpacket::process): Make continue_now a bool. Delay sending signal_arrived
until the end. Make code more defensive to avoid calling signal handler when
stopped. Only set signal_arrived when stopped.
* sigproc.cc (sig_hold): Rename from sigCONT. Make static.
(sig_send): Accommodate sigCONT -> sig_hold rename.
(wait_sig): Ditto.
* sigproc.h (sigCONT): Delete declaration.
* fhandler_console.cc (fhandler_console::write): Use new '%0c' facility to
print characters. Change to paranoid to avoid excessive strace output.
* fhandler_tty.cc (fhandler_pty_master::accept_input): Make frequent strace
printf "paranoid" to help cut down on strace output size.
* signal.cc (sigsuspend): Add standard syscall strace output.
(sigpause): Ditto.
(pause): Ditto.
* cygtls.h (_cygtls::reset_signal_arrived): New function.
|
|
|
|
|
|
(set_signal_arrived::~set_signal_arrived): Use reset_signal_arrived to reset
state.
* exceptions.cc (sig_handle_tty_stop): Use WAIT_SIGNALED rather than assume we
know the return from cancelable_wait.
(_cygtls::interrupt_setup): Modify to allow calling when executing in
non-cygwin code via sigdelayed. Always reset signal_arrived.
* gendef: Throughout use start_offset rather than the completely wrong
sizeof__cygtls.
(_sigdelayed): Rewrite to avoid duplication when calling the signal handler.
(sigreturn): Delete.
* gentls_offsets: Define start_offset rather than sizeof__cygtls.
* tlsoffsets.h: Regenerate.
|
|
|
|
* include/windows.h: Include sdkddkver.h.
|
|
handling to print non-printable characters using hex notation.
* smallprint.cc (__small_vsprintf): Semi-reimplement printing of non-printable
characters in hex but only when padding is specified.
* dcrt0.cc (dll_crt0_0): Remove tty_list initialization.
* shared.cc (memory_init): Initialize tty_list here.
* path.cc (path_conv::check): Remove unneeded parentheses from if check.
|
|
Define macros in C++ according to C99 requirements.
* include/stdint.h: Ditto.
|
|
cancelable_wait loop on signal.
|