Corinna Vinschen
abbde48704
* Makefile.in (DLL_OFILES): Add kernel32.o.
* autoload.cc (WSACloseEvent): Remove.
(WSACreateEvent): Remove.
* cygheap.cc (cygheap_init): Drop initializing shared_prefix.
* cygheap.h (struct init_cygheap): Drop shared_prefix and
shared_prefix_buf members.
* fhandler_socket.cc (sock_shared_name): New static function.
(search_wsa_event_slot): Convert name buffers to WCHAR. Call
NtCreateMutant/NtOpenMutant to create mutexes in session local
namespace.
(fhandler_socket::init_events): Ditto. Fix debug output.
(fhandler_socket::release_events): Close mutexes using NtClose.
(fhandler_socket::dup): Ditto.
* kernel32.cc: New file, implementing Win32 calls in a Cygwin-specific
way.
* mmap.cc (MapView): Make static.
* ntdll.h: Fix status code sorting.
(STATUS_OBJECT_NAME_EXISTS): Define.
(SEMAPHORE_QUERY_STATE): Define.
(CYG_SHARED_DIR_ACCESS): Define.
(CYG_MUTANT_ACCESS): Define.
(CYG_EVENT_ACCESS): Define.
(CYG_SEMAPHORE_ACCESS): Define.
(enum _PROCESSINFOCLASS): Define ProcessSessionInformation.
(struct _PROCESS_SESSION_INFORMATION): Define.
(NtCreateSemaphore): Declare.
(NtOpenSemaphore): Declare.
* flock.cc: Use CYG_xxx_ACCESS access masks where appropriate.
* posix_ipc.cc (ipc_mutex_init): Use native functions to create mutex.
Create in cygwin-shared subdir.
(ipc_cond_init): Ditto for event.
(ipc_mutex_close): Use NtClose.
(ipc_cond_close): Ditto.
(mq_open): Drop "cyg" prefix from mqh_uname.
* shared.cc (CYG_SHARED_DIR_ACCESS): Drop definition here.
(_cygwin_testing): Declare extern on file level.
(get_shared_parent_dir): Change name of shared directory. Add name
to api_fatal output.
(get_session_parent_dir): New function.
(shared_name): Simplify.
(shared_info::initialize): Call get_session_parent_dir.
* shared_info.h (get_session_parent_dir): Declare.
* smallprint.cc (__small_vswprintf): Fix bug in multibyte string
conversion.
* thread.cc (semaphore::semaphore): Align semaphore name to object
names in posix IPC functions.
* include/cygwin/version.h (CYGWIN_VERSION_SHARED_DATA): Bump.
2008-04-21 12:46:58 +00:00
..
2006-12-11 19:59:06 +00:00
2007-06-14 16:02:32 +00:00
2008-02-11 19:03:36 +00:00
2008-04-21 12:46:58 +00:00
2005-06-01 18:24:31 +00:00
2001-03-05 21:29:24 +00:00
2006-07-25 19:23:23 +00:00
2008-04-01 13:22:47 +00:00
2001-03-05 21:29:24 +00:00
2005-07-26 00:55:42 +00:00
2005-03-28 21:58:23 +00:00
2004-09-14 08:29:12 +00:00
2005-08-08 15:00:39 +00:00
2005-11-10 21:17:15 +00:00
2003-11-06 21:31:24 +00:00
2005-12-03 05:01:51 +00:00
2006-08-07 19:29:14 +00:00
2006-05-28 15:50:14 +00:00
2002-02-28 14:30:38 +00:00
2005-08-08 09:45:42 +00:00
2007-01-28 11:27:05 +00:00
2006-01-09 12:41:54 +00:00
2006-10-17 17:34:56 +00:00
2000-02-17 19:38:33 +00:00
2007-06-21 15:57:54 +00:00
2005-06-10 12:11:35 +00:00
2001-09-17 21:29:19 +00:00
2001-03-05 21:29:24 +00:00
2005-02-22 19:45:41 +00:00
2008-02-14 16:47:11 +00:00
2001-09-11 20:01:02 +00:00
2001-03-05 21:29:24 +00:00
2006-02-13 19:01:32 +00:00
2007-02-15 17:49:25 +00:00
2007-02-01 15:54:40 +00:00
2003-09-25 03:46:20 +00:00
2001-03-05 21:29:24 +00:00
2007-02-07 17:22:40 +00:00
2003-09-10 15:51:59 +00:00
2006-12-11 19:59:06 +00:00
2001-04-12 04:04:53 +00:00
2007-06-17 00:31:27 +00:00
2007-02-20 15:48:04 +00:00
2007-04-06 08:25:28 +00:00
2008-02-15 17:53:11 +00:00
2000-12-10 22:19:50 +00:00
2001-03-05 21:29:24 +00:00
2001-03-05 21:29:24 +00:00
2003-12-01 10:39:17 +00:00
2006-02-02 22:46:37 +00:00