| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
* cygtls.cc (_cygtls::operator HANDLE): Return NULL when tid is not set.
* exceptions.cc (setup_handler): Don't try to suspend a thread if it has no
handle.
|
| |
|
|
|
|
|
| |
* DevNotes: Add entry cgf-000015.
* cygwait.h (cygwait): Don't allow an optional PLARGE_INTERGER argument.
|
|
|
|
|
|
|
|
| |
(_cygtls::set_signal_arrived): Lock creation of signal_arrived.
* cygwait.cc (cancelable_wait): Ignore signal_arrived event if _my_tls 'sig'
element does not exist.
* exceptions.cc (_cygtls::interrupt_setup): Create signal_arrived if recipient
thread has not created it.
|
| |
|
|
|
|
| |
cygwin.din.
|
|
|
|
|
|
|
| |
* sigproc.h (sigdelayed): Make symbol globally available.
* gendef (sigdelayed): Specifically zero incyg and stacklock.
* signal.cc (sigwaitinfo): Lock _my_tls and try harder to clean up signal
information.
|
| |
|
| |
|
| |
|
|
|
|
| |
api_fatal call.
|
| |
|
|
|
|
| |
* mount.h (enum fs_info_type): Add comment.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|