Danny Smith 
							
						 
					 
					
						
						
							
						
						247808c13b 
					 
					
						
						
							
							2003-03-28  Bang Jun-Young  <junyoung@netbsd.org>  
						
						... 
						
						
						
						* include/winnt.h (WAITORTIMERCALLBACKFUNC): Add typedef. 
						
						
					 
					
						2003-03-29 01:33:41 +00:00 
						 
				 
			
				
					
						
							
							
								Christopher Faylor 
							
						 
					 
					
						
						
							
						
						a7ab35c1bb 
					 
					
						
						
							
							* include/sys/cygwin.h: Declare cygwin_internal as unsigned long.  
						
						... 
						
						
						
						* external.cc (cygwin_internal): Define as unsigned long.
* include/sys/cygwin.h: Move cygwin_internal outside of WINVER conditional. 
						
						
					 
					
						2003-03-28 14:21:40 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Pfaff 
							
						 
					 
					
						
						
							
						
						eff6c00e19 
					 
					
						
						
							
							* thread.cc: Change 1==foo equations to foo==1 throughout.  
						
						
						
						
					 
					
						2003-03-27 19:57:06 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Pfaff 
							
						 
					 
					
						
						
							
						
						15648790f4 
					 
					
						
						
							
							* thread.h: Change class names, methods, members and local vars  
						
						... 
						
						
						
						according to the GNU coding style.
* thread.cc: Ditto.
* dcrt0.cc (dll_crt0_1): Rename pthread::initMainThread call to
pthread::init_mainthread.
* pthread.cc (pthead_getsequence_np): Rename pthread::isGoodObject
call to pthread::is_good_object. 
						
						
					 
					
						2003-03-27 19:52:20 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Pfaff 
							
						 
					 
					
						
						
							
						
						c65b504859 
					 
					
						
						
							
							* winsup.api/pthread/rwlock1.c: Remove pthreads-win32 header.  
						
						... 
						
						
						
						* winsup.api/pthread/rwlock2.c: Ditto.
* winsup.api/pthread/rwlock3.c: Ditto.
* winsup.api/pthread/rwlock4.c: Ditto.
* winsup.api/pthread/rwlock5.c: Ditto.
* winsup.api/pthread/rwlock6.c: Ditto. 
						
						
					 
					
						2003-03-27 19:46:35 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Pfaff 
							
						 
					 
					
						
						
							
						
						9b15aa7559 
					 
					
						
						
							
							* winsup.api/pthread/condvar7.c (mythread): Cast  
						
						... 
						
						
						
						pthread_mutex_unlock argument of pthread_cleanup_push
to void *, preventing a	compiler warning / testsuite failure.
* winsup.api/pthread/condvar9.c (mythread): Likewise.
* winsup.api/pthread/rwlock7.c (main): Use ftime instead of
_ftime. 
						
						
					 
					
						2003-03-27 19:44:41 +00:00 
						 
				 
			
				
					
						
							
							
								Christopher Faylor 
							
						 
					 
					
						
						
							
						
						921587de50 
					 
					
						
						
							
							note mount binary default.  
						
						
						
						
					 
					
						2003-03-27 18:46:16 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Clifton 
							
						 
					 
					
						
						
							
						
						82935b4237 
					 
					
						
						
							
							Add iWMMXt support to ARM simulator  
						
						
						
						
					 
					
						2003-03-27 17:13:33 +00:00 
						 
				 
			
				
					
						
							
							
								Corinna Vinschen 
							
						 
					 
					
						
						
							
						
						98b36ec8ed 
					 
					
						
						
							
							* autoload.cc: added RegGetKeySecurity()  
						
						... 
						
						
						
						* security.cc (get_nt_object_attribute): use RegGetKeySecurity() for
	performance. 
						
						
					 
					
						2003-03-27 09:40:25 +00:00 
						 
				 
			
				
					
						
							
							
								Danny Smith 
							
						 
					 
					
						
						
							
						
						2f4be7367e 
					 
					
						
						
							
							* include/secext.h (GetComputerObjectName[AW],GetUserNameEx[AW],  
						
						... 
						
						
						
						TranslateName[AW]): Add prototypes.
	* lib/sec32.def (GetComputerObjectName[AW],GetUserNameEx[AW],
	TranslateName[AW]): Add stubs. 
						
						
					 
					
						2003-03-27 08:10:46 +00:00 
						 
				 
			
				
					
						
							
							
								Joshua Daniel Franklin 
							
						 
					 
					
						
						
							
						
						6c7303cd5f 
					 
					
						
						
							
							* setup-net.sgml: Make suggested additions to setup.exe documentation  
						
						
						
						
					 
					
						2003-03-27 04:56:52 +00:00 
						 
				 
			
				
					
						
							
							
								Danny Smith 
							
						 
					 
					
						
						
							
						
						498268ef01 
					 
					
						
						
							
							2003-03-27  Vladimir Michl  <michlv@users.sourceforge.net>  
						
						... 
						
						
						
						* include/ddk/ndis.h (NdisAllocateSpinLock,NdisFreeSpinLock,
	NdisAcquireSpinLock,NdisReleaseSpinLock,NdisDprAcquireSpinLock,
	NdisDprReleaseSpinLock): Change macro argument from SpinLock to
	_SpinLock. 
						
						
					 
					
						2003-03-27 02:14:14 +00:00 
						 
				 
			
				
					
						
							
							
								Earnie Boyd 
							
						 
					 
					
						
						
							
						
						fc7c546387 
					 
					
						
						
							
							* include/w32api.h: Increment version to 2.4.  
						
						... 
						
						
						
						* Makefile.in: Ditto. 
						
						
					 
					
						2003-03-26 23:50:25 +00:00 
						 
				 
			
				
					
						
							
							
								Danny Smith 
							
						 
					 
					
						
						
							
						
						200738932f 
					 
					
						
						
							
							Move some ddk defines to winnt.h as per MSDN documentation  
						
						... 
						
						
						
						* include/ddk/batclass.h (BATTERY_REPORTING_SCALE)
	Move structure from here...
	* include/winnt.h (BATTERY_REPORTING_SCALE): To here.
	* include/ddk/ntapi.h (JOBOBJECT_*):
	Remove structures and enums definitions.
  	(JOB_OBJECT*): Move defines from here...
	* include/winnt.h (JOB_OBJECT* ): To here.
	* include/ddk/ntpoapi.h (LATENCY_TIME, POWER_ACTION_POLICY,
	SYSTEM_POWER_LEVEL, SYSTEM_POWER_POLICY,
	PROCESSOR_POWER_POLICY_INFO, PROCESSOR_POWER_POLICY,
	ADMINISTRATOR_POWER_POLICY, SYSTEM_POWER_INFORMATION,
	PROCESSOR_POWER_INFORMATION, SYSTEM_BATTERY_STATE,
	SYSTEM_POWER_CAPABILITIES): Move enums, structures
	and associated defines from here ...
	* include/winnt.h: (LATENCY_TIME, POWER_ACTION_POLICY,
	SYSTEM_POWER_LEVEL, SYSTEM_POWER_POLICY,
	PROCESSOR_POWER_POLICY_INFO, PROCESSOR_POWER_POLICY,
	ADMINISTRATOR_POWER_POLICY, SYSTEM_POWER_INFORMATION,
	PROCESSOR_POWER_INFORMATION, SYSTEM_BATTERY_STATE,
	SYSTEM_POWER_CAPABILITIES):To here.
	* include/ddk/winddk.h (DEVICE_POWER_STATE,
	SYSTEM_POWER_STATE, POWER_ACTION): Move enums
	from here...
	* include/winnt.h (DEVICE_POWER_STATE,
	SYSTEM_POWER_STATE, POWER_ACTION): To here. 
						
						
					 
					
						2003-03-26 22:28:01 +00:00 
						 
				 
			
				
					
						
							
							
								Christopher Faylor 
							
						 
					 
					
						
						
							
						
						85738bf7e3 
					 
					
						
						
							
							Joe Buehler <jhpb@draco.hekimian.com>  
						
						... 
						
						
						
						* fork.cc (fork_parent): Don't copy signals from parent to child here.
* sigproc.cc (proc_subproc): Copy signals from parent to child pinfo here. 
						
						
					 
					
						2003-03-26 04:18:01 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Clifton 
							
						 
					 
					
						
						
							
						
						b2b9de805f 
					 
					
						
						
							
							Add iWMMXt support  
						
						
						
						
					 
					
						2003-03-25 20:56:01 +00:00 
						 
				 
			
				
					
						
							
							
								Christopher Faylor 
							
						 
					 
					
						
						
							
						
						ce7a361072 
					 
					
						
						
							
							* cygcheck.cc (dump_sysinfo): Ensure that CYGWIN environment variable is  
						
						... 
						
						
						
						correctly set. 
						
						
					 
					
						2003-03-25 01:20:04 +00:00 
						 
				 
			
				
					
						
							
							
								Joshua Daniel Franklin 
							
						 
					 
					
						
						
							
						
						8fdbcd1279 
					 
					
						
						
							
							* setup-net.sgml: Improve setup.exe documentation  
						
						
						
						
					 
					
						2003-03-23 19:43:33 +00:00 
						 
				 
			
				
					
						
							
							
								Joshua Daniel Franklin 
							
						 
					 
					
						
						
							
						
						0fd535061d 
					 
					
						
						
							
							* setup-net.sgml: Improve setup.exe documentation  
						
						
						
						
					 
					
						2003-03-23 19:35:52 +00:00 
						 
				 
			
				
					
						
							
							
								Joshua Daniel Franklin 
							
						 
					 
					
						
						
							
						
						489d990b9d 
					 
					
						
						
							
							* setup-net.sgml: Improve setup.exe documentation  
						
						
						
						
					 
					
						2003-03-23 16:23:52 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Pfaff 
							
						 
					 
					
						
						
							
						
						b2ee9a5565 
					 
					
						
						
							
							*** empty log message ***  
						
						
						
						
					 
					
						2003-03-23 10:56:19 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Pfaff 
							
						 
					 
					
						
						
							
						
						9306ba2ee4 
					 
					
						
						
							
							* thread.h (class List): Move inline code inside class  
						
						... 
						
						
						
						declaration.
(List::forEach): Change callback parameter to template class
member functionpointer.
(pthread_keys::fixup_before_fork): Change to inline. Use
List::forEach to fixup keys.
(pthread_keys::fixup_after_fork): Ditto.
(pthread_keys::runAllDestructors): Ditto.
(pthread_key::saveAKey): Remove.
(pthread_key::restoreAKey): Ditto.
(pthread_key::destroyAKey): Ditto.
(pthread_key::run_destructor): Rename to runDestructor.
(pthread_mutex::fixup_after_fork): Change to inline. Use
List::forEach to fixup mutexes after a fork.
(pthread_mutex::FixupAfterFork): New method.
(pthread_mutex::mutexes): New member.
(pthread_cond::fixup_after_fork): Change to inline. Use
List::forEach to fixup conds after a fork.
(pthread_cond::FixupAfterFork): New method.
(pthread_cond::conds): New member.
(pthread_rwlock::fixup_after_fork): Change to inline. Use
List::forEach to fixup rwlocks after a fork.
(pthread_rwlock::FixupAfterFork): New method.
(pthread_rwlock::rwlocks): New member.
(semaphore::fixup_after_fork): Change to inline. Use
List::forEach to fixup mutexes after a fork.
(semaphore::FixupAfterFork): New method.
(semaphore::semaphores): New member.
(MTinterface::mutexs): Remove.
(MTinterface::conds): Ditto.
(MTinterface::rwlocks): Ditto.
(MTinterface::semaphores): Ditto.
(pthread_equal): Add extern "C".
(pthread_mutex_lock): Ditto.
* thread.cc (MTinterface::fixup_after_fork): Change
fixup_after_fork calls for pthread objects.
(semaphore::conds): Instantiate.
(pthread_cond::pthread_cond): Use List::Insert rather than
custom list code.
(pthread_cond::~pthread_cond): Use List::Remove rather than
custom list code.
(pthread_cond::fixup_after_fork): Rename to FixupAfterFork.
(pthread_rwlock::rwlocks): Instantiate.
(pthread_rwlock::pthread_crwlock): Use List::Insert rather than
custom list code.
(pthread_rwlock::~pthread_rwlock): Use List::Remove rather than
custom list code.
(pthread_rwlock::fixup_after_fork): Rename to FixupAfterFork.
(pthread_key::saveAKey): Remove.
(pthread_key::fixup_before_fork): Ditto.
(pthread_key::restoreAKey): Ditto.
(pthread_key::fixup_after_fork): Ditto.
(pthread_key::destroyAKey): Ditto.
(pthread_key::runAllDestructors): Ditto.
(pthread_key::run_destructor): Rename to runDestructor.
(pthread_mutex::mutexes): Instantiate.
(pthread_mutex::pthread_mutex): Use List::Insert rather than
custom list code.
(pthread_mutex::~pthread_mutex): Use List::Remove rather than
custom list code.
(pthread_mutex::fixup_after_fork): Rename to FixupAfterFork.
(semaphore::conds): Instantiate.
(semaphore::semaphore): Use List::Insert rather than custom list
code.
(semaphores::~semaphore): Use List::Remove rather than custom
list code.
(semaphore::fixup_after_fork): Rename to FixupAfterFork. 
						
						
					 
					
						2003-03-23 10:52:02 +00:00 
						 
				 
			
				
					
						
							
							
								Joshua Daniel Franklin 
							
						 
					 
					
						
						
							
						
						522fcf1615 
					 
					
						
						
							
							* setup-net.sgml: Document setup.exe  
						
						
						
						
					 
					
						2003-03-22 21:16:25 +00:00 
						 
				 
			
				
					
						
							
							
								Joshua Daniel Franklin 
							
						 
					 
					
						
						
							
						
						7d37d0459e 
					 
					
						
						
							
							* setup-net.sgml: Document setup.exe  
						
						
						
						
					 
					
						2003-03-22 20:03:41 +00:00 
						 
				 
			
				
					
						
							
							
								Christopher Faylor 
							
						 
					 
					
						
						
							
						
						ff3ef36d88 
					 
					
						
						
							
							* pipe.cc (fhandler_pipe::dup): Don't dup input_handle if it doesn't exist.  
						
						
						
						
					 
					
						2003-03-22 18:30:58 +00:00 
						 
				 
			
				
					
						
							
							
								Christopher Faylor 
							
						 
					 
					
						
						
							
						
						ca04f61fc7 
					 
					
						
						
							
							* syscalls.cc (unlink): Be more defensive when SetFileAttributes is called.  
						
						... 
						
						
						
						Fix typo in debugging output. 
						
						
					 
					
						2003-03-22 17:48:40 +00:00 
						 
				 
			
				
					
						
							
							
								Christopher Faylor 
							
						 
					 
					
						
						
							
						
						89e7a1ced9 
					 
					
						
						
							
							* fork.cc: Conditionalize use of slow_pid_reuse throughout.  It's not necessary  
						
						... 
						
						
						
						for newer versions of bash. 
						
						
					 
					
						2003-03-22 01:45:18 +00:00 
						 
				 
			
				
					
						
							
							
								Martin Schwidefsky 
							
						 
					 
					
						
						
							
						
						a13b67a6d6 
					 
					
						
						
							
							* s390.h (s390_opcode_arch_val): Rename to s390_opcode_mode_val.  
						
						... 
						
						
						
						(S390_OPCODE_ESAME): Rename to S390_OPCODE_ZARCH.
	(s390_opcode): Remove architecture. Add modes and min_cpu. 
						
						
					 
					
						2003-03-21 13:26:21 +00:00 
						 
				 
			
				
					
						
							
							
								Jeff Johnston 
							
						 
					 
					
						
						
							
						
						e6bdc6c5eb 
					 
					
						
						
							
							2003-03-20  Jeff Johnston  <jjohnstn@redhat.com>  
						
						... 
						
						
						
						* libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
        count all characters used to create number against maximum width.
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto. 
						
						
					 
					
						2003-03-20 17:23:57 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Clifton 
							
						 
					 
					
						
						
							
						
						50b9d1a8f1 
					 
					
						
						
							
							Add Cirrus Maverick support to arm simulator  
						
						
						
						
					 
					
						2003-03-20 12:25:07 +00:00 
						 
				 
			
				
					
						
							
							
								Corinna Vinschen 
							
						 
					 
					
						
						
							
						
						fa85038b5f 
					 
					
						
						
							
							* fhandler_socket.cc (fhandler_socket::sendto): Restrict EPIPE and  
						
						... 
						
						
						
						SIGPIPE handling to connection oriented sockets.  Add comment. 
						
						
					 
					
						2003-03-20 08:53:28 +00:00 
						 
				 
			
				
					
						
							
							
								Christopher Faylor 
							
						 
					 
					
						
						
							
						
						4da34970de 
					 
					
						
						
							
							* sigproc.h (signal_fixup_after_exec): Eliminate argument in declaration.  
						
						... 
						
						
						
						* exceptions.cc (signal_fixup_after_exec): Eliminate argument in definition.
Don't reset signal handlers after spawm.  Just treat like fork/exec.
* dcrt0.cc (dll_crt0_1): Don't pass PROC_SPAWN argument to
signal_fixup_after_exec.
* syscalls.cc (unlink): Don't change attributes of file if not readonly/system.
Ditto for resetting of arguments. 
						
						
					 
					
						2003-03-20 01:34:53 +00:00 
						 
				 
			
				
					
						
							
							
								Danny Smith 
							
						 
					 
					
						
						
							
						
						8e3121c535 
					 
					
						
						
							
							*lib/ndis.def (NdisAllocateMemory): Correct stdcall suffix.  
						
						... 
						
						
						
						Thanks to: Vladimir Michl <michlv@users.sourceforge.net >
	(NdisUpdateSharedMemory): Likewise.
	(NdisMFreeSharedMemory: Likewise.
	(NdisMMapIoSpace: Likewise. 
						
						
					 
					
						2003-03-20 00:44:06 +00:00 
						 
				 
			
				
					
						
							
							
								Corinna Vinschen 
							
						 
					 
					
						
						
							
						
						036ac6b3a2 
					 
					
						
						
							
							* glob.c: Eliminate __INSIDE_CYGWIN__ preprocessor conditionals  
						
						... 
						
						
						
						throughout. 
						
						
					 
					
						2003-03-19 21:38:25 +00:00 
						 
				 
			
				
					
						
							
							
								Corinna Vinschen 
							
						 
					 
					
						
						
							
						
						b1897d27a8 
					 
					
						
						
							
							* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Fix  
						
						... 
						
						
						
						wrong usage of S_IFDIR.
	* security.cc (get_attribute_from_acl): Ditto.
	(get_file_attribute): Fix wrong usage of S_IFLNK.
	(get_object_attribute): Ditto.
	(alloc_sd): Fix wrong usage of S_IFDIR.
	* syscalls.cc (chmod): Allow chmod'ing of socket files. 
						
						
					 
					
						2003-03-19 21:34:38 +00:00 
						 
				 
			
				
					
						
							
							
								Corinna Vinschen 
							
						 
					 
					
						
						
							
						
						c16d09466b 
					 
					
						
						
							
							* include/cygwin/version.h (CYGWIN_VERSION_CHECK_FOR_USING_BIG_TYPES):  
						
						... 
						
						
						
						Define.
	* glob.c (g_lstat): Use CYGWIN_VERSION_CHECK_FOR_USING_BIG_TYPES
	instead of numerical constants.
	(g_stat): Ditto. 
						
						
					 
					
						2003-03-19 20:13:57 +00:00 
						 
				 
			
				
					
						
							
							
								Jeff Johnston 
							
						 
					 
					
						
						
							
						
						e65d559e71 
					 
					
						
						
							
							2003-03-18  D.Venkatasubramanian  <dvenkat@noida.hcltech.com>  
						
						... 
						
						
						
						* libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
        support.
        * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
        flag to support simulator only extensions. 
						
						
					 
					
						2003-03-18 20:38:04 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Pfaff 
							
						 
					 
					
						
						
							
						
						6a80a133be 
					 
					
						
						
							
							* pthread.cc (pthread_attr_init): Remove  
						
						... 
						
						
						
						(pthread_attr_destroy): Ditto.
(pthread_attr_setdetachstate): Ditto.
(pthread_attr_getdetachstate): Ditto.
(pthread_attr_setstacksize): Ditto.
(pthread_attr_getstacksize): Ditto.
(pthread_attr_setinheritsched): Ditto.
(pthread_attr_getinheritsched): Ditto.
(pthread_attr_setschedparam): Ditto.
(pthread_attr_getschedparam): Ditto.
(pthread_attr_setschedpolicy): Ditto.
(pthread_attr_getschedpolicy): Ditto.
(pthread_attr_setscope): Ditto.
(pthread_attr_getscope): Ditto.
(pthread_attr_setstackaddr): Ditto.
(pthread_attr_getstackaddr): Ditto.
(pthread_key_create): Ditto.
(pthread_key_delete): Ditto.
(pthread_setspecific): Ditto.
(pthread_getspecific): Ditto.
(pthread_kill): Ditto.
(pthread_sigmask): Ditto.
(pthread_equal): Ditto.
(pthread_mutex_lock): Ditto.
(pthread_mutex_trylock): Ditto.
(pthread_mutex_unlock): Ditto.
(pthread_mutex_destroy): Ditto.
(pthread_mutex_setprioceiling): Ditto.
(pthread_mutex_getprioceiling): Ditto.
(pthread_mutexattr_destroy): Ditto.
(pthread_mutexattr_getprioceiling): Ditto.
(pthread_mutexattr_getprotocol): Ditto.
(pthread_mutexattr_getpshared): Ditto.
(pthread_mutexattr_gettype): Ditto.
(pthread_mutexattr_init): Ditto.
(pthread_mutexattr_setprioceiling): Ditto.
(pthread_mutexattr_setprotocol): Ditto.
(pthread_mutexattr_setpshared): Ditto.
(pthread_mutexattr_settype): Ditto.
(pthread_cond_destroy): Ditto.
(pthread_cond_signal): Ditto.
(pthread_cond_broadcast): Ditto.
(pthread_condattr_init): Ditto.
(pthread_condattr_destroy): Ditto.
(pthread_condattr_getpshared): Ditto.
(pthread_condattr_setpshared): Ditto.
(pthread_rwlock_destroy): Ditto.
(pthread_rwlock_rdlock): Ditto.
(pthread_rwlock_tryrdlock): Ditto.
(pthread_rwlock_wrlock): Ditto.
(pthread_rwlock_trywrlock): Ditto.
(pthread_rwlock_unlock): Ditto.
(pthread_rwlockattr_init): Ditto.
(pthread_rwlockattr_getpshared): Ditto.
(pthread_rwlockattr_setpshared): Ditto.
(pthread_rwlockattr_destroy): Ditto.
(pthread_getconcurrency): Ditto.
(pthread_setconcurrency): Ditto.
(pthread_getschedparam): Ditto.
(pthread_setschedparam): Ditto.
* thread.h (__pthread_attr_init): Remove prototype.
(__pthread_attr_destroy): Ditto.
(__pthread_attr_setdetachstate): Ditto.
(__pthread_attr_getdetachstate): Ditto.
(__pthread_attr_setstacksize): Ditto.
(__pthread_attr_getstacksize): Ditto.
(__pthread_attr_setinheritsched): Ditto.
(__pthread_attr_getinheritsched): Ditto.
(__pthread_attr_setschedparam): Ditto.
(__pthread_attr_getschedparam): Ditto.
(__pthread_attr_setschedpolicy): Ditto.
(__pthread_attr_getschedpolicy): Ditto.
(__pthread_attr_setscope): Ditto.
(__pthread_attr_getscope): Ditto.
(__pthread_attr_setstackaddr): Ditto.
(__pthread_attr_getstackaddr): Ditto.
(__pthread_key_create): Ditto.
(__pthread_key_delete): Ditto.
(__pthread_setspecific): Ditto.
(__pthread_getspecific): Ditto.
(__pthread_kill): Ditto.
(__pthread_sigmask): Ditto.
(__pthread_equal): Ditto.
(__pthread_mutex_lock): Ditto.
(__pthread_mutex_trylock): Ditto.
(__pthread_mutex_unlock): Ditto.
(__pthread_mutex_destroy): Ditto.
(__pthread_mutex_setprioceiling): Ditto.
(__pthread_mutex_getprioceiling): Ditto.
(__pthread_mutexattr_destroy): Ditto.
(__pthread_mutexattr_getprioceiling): Ditto.
(__pthread_mutexattr_getprotocol): Ditto.
(__pthread_mutexattr_getpshared): Ditto.
(__pthread_mutexattr_gettype): Ditto.
(__pthread_mutexattr_init): Ditto.
(__pthread_mutexattr_setprioceiling): Ditto.
(__pthread_mutexattr_setprotocol): Ditto.
(__pthread_mutexattr_setpshared): Ditto.
(__pthread_mutexattr_settype): Ditto.
(__pthread_cond_destroy): Ditto.
(__pthread_cond_signal): Ditto.
(__pthread_cond_broadcast): Ditto.
(__pthread_condattr_init): Ditto.
(__pthread_condattr_destroy): Ditto.
(__pthread_condattr_getpshared): Ditto.
(__pthread_condattr_setpshared): Ditto.
(__pthread_rwlock_destroy): Ditto.
(__pthread_rwlock_rdlock): Ditto.
(__pthread_rwlock_tryrdlock): Ditto.
(__pthread_rwlock_wrlock): Ditto.
(__pthread_rwlock_trywrlock): Ditto.
(__pthread_rwlock_unlock): Ditto.
(__pthread_rwlockattr_init): Ditto.
(__pthread_rwlockattr_getpshared): Ditto.
(__pthread_rwlockattr_setpshared): Ditto.
(__pthread_rwlockattr_destroy): Ditto.
(__pthread_getconcurrency): Ditto.
(__pthread_setconcurrency): Ditto.
(__pthread_getschedparam): Ditto.
(__pthread_setschedparam): Ditto.
* thread.cc: Rename __pthread_equal to pthread_equal throughout.
Change pthread_self parameter appropriate.
(__pthread_attr_init): Remove __ prefix. Change to extern "C".
(__pthread_attr_destroy): Ditto.
(__pthread_attr_setdetachstate): Ditto.
(__pthread_attr_getdetachstate): Ditto.
(__pthread_attr_setstacksize): Ditto.
(__pthread_attr_getstacksize): Ditto.
(__pthread_attr_setinheritsched): Ditto.
(__pthread_attr_getinheritsched): Ditto.
(__pthread_attr_setschedparam): Ditto.
(__pthread_attr_getschedparam): Ditto.
(__pthread_attr_setschedpolicy): Ditto.
(__pthread_attr_getschedpolicy): Ditto.
(__pthread_attr_setscope): Ditto.
(__pthread_attr_getscope): Ditto.
(__pthread_attr_setstackaddr): Ditto.
(__pthread_attr_getstackaddr): Ditto.
(__pthread_key_create): Ditto.
(__pthread_key_delete): Ditto.
(__pthread_setspecific): Ditto.
(__pthread_getspecific): Ditto.
(__pthread_kill): Ditto.
(__pthread_sigmask): Ditto.
(__pthread_equal): Ditto.
(__pthread_mutex_lock): Ditto.
(__pthread_mutex_trylock): Ditto.
(__pthread_mutex_unlock): Ditto.
(__pthread_mutex_destroy): Ditto.
(__pthread_mutex_setprioceiling): Ditto.
(__pthread_mutex_getprioceiling): Ditto.
(__pthread_mutexattr_destroy): Ditto.
(__pthread_mutexattr_getprioceiling): Ditto.
(__pthread_mutexattr_getprotocol): Ditto.
(__pthread_mutexattr_getpshared): Ditto.
(__pthread_mutexattr_gettype): Ditto.
(__pthread_mutexattr_init): Ditto.
(__pthread_mutexattr_setprioceiling): Ditto.
(__pthread_mutexattr_setprotocol): Ditto.
(__pthread_mutexattr_setpshared): Ditto.
(__pthread_mutexattr_settype): Ditto.
(__pthread_cond_destroy): Ditto.
(__pthread_cond_signal): Ditto.
(__pthread_cond_broadcast): Ditto.
(__pthread_condattr_init): Ditto.
(__pthread_condattr_destroy): Ditto.
(__pthread_condattr_getpshared): Ditto.
(__pthread_condattr_setpshared): Ditto.
(__pthread_rwlock_destroy): Ditto.
(__pthread_rwlock_rdlock): Ditto.
(__pthread_rwlock_tryrdlock): Ditto.
(__pthread_rwlock_wrlock): Ditto.
(__pthread_rwlock_trywrlock): Ditto.
(__pthread_rwlock_unlock): Ditto.
(__pthread_rwlockattr_init): Ditto.
(__pthread_rwlockattr_getpshared): Ditto.
(__pthread_rwlockattr_setpshared): Ditto.
(__pthread_rwlockattr_destroy): Ditto.
(__pthread_getconcurrency): Ditto.
(__pthread_setconcurrency): Ditto.
(__pthread_getschedparam): Ditto.
(__pthread_setschedparam): Ditto. 
						
						
					 
					
						2003-03-18 20:12:05 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Pfaff 
							
						 
					 
					
						
						
							
						
						4fd9bca85e 
					 
					
						
						
							
							* winsup.api/pthread/rwlock1.c: New test.  
						
						... 
						
						
						
						* winsup.api/pthread/rwlock2.c: Ditto.
* winsup.api/pthread/rwlock3.c: Ditto.
* winsup.api/pthread/rwlock4.c: Ditto.
* winsup.api/pthread/rwlock5.c: Ditto.
* winsup.api/pthread/rwlock6.c: Ditto.
* winsup.api/pthread/rwlock7.c: Ditto. 
						
						
					 
					
						2003-03-18 20:04:24 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Pfaff 
							
						 
					 
					
						
						
							
						
						00d296a3f9 
					 
					
						
						
							
							* cygwin.din: Add pthread_rwlock_destroy, pthread_rwlock_init,  
						
						... 
						
						
						
						pthread_rwlock_rdlock, pthread_rwlock_tryrdlock,
pthread_rwlock_wrlock, pthread_rwlock_trywrlock,
pthread_rwlock_unlock, pthread_rwlockattr_init,
pthread_rwlockattr_getpshared, pthread_rwlockattr_setpshared,
and pthread_rwlockattr_destroy.
* include/cygwin/version.h: Bump API minor number.
* include/pthread.h (PTHREAD_RWLOCK_INITIALIZER): Define a
reasonable value.
Add prototypes for pthread_rwlock_destroy, pthread_rwlock_init,
pthread_rwlock_rdlock, pthread_rwlock_tryrdlock,
pthread_rwlock_wrlock, pthread_rwlock_trywrlock,
pthread_rwlock_unlock, pthread_rwlockattr_init,
pthread_rwlockattr_getpshared, pthread_rwlockattr_setpshared,
and pthread_rwlockattr_destroy.
* thread.h (PTHREAD_ONCE_MAGIC): Remove superflous semicolon.
(PTHREAD_RWLOCK_MAGIC): New define.
(PTHREAD_RWLOCKATTR_MAGIC): Ditto.
(pthread_rwlockattr): New class.
(pthread_rwlock): Ditto.
(MTinterface::rwlocks): New member.
(MTinterface::MTinterface): Initialize rwlocks.
Add prototypes for __pthread_rwlock_destroy,
__pthread_rwlock_wrlock, __pthread_rwlock_trywrlock,
__pthread_rwlock_unlock, __pthread_rwlockattr_init,
__pthread_rwlockattr_getpshared, __pthread_rwlockattr_setpshared,
and __pthread_rwlockattr_destroy.
* thread.cc (MTinterface::Init): Initialize rwlock internal mutex.
(MTinterface::fixup_after_fork): Fixup rwlocks after fork.
(pthread_rwlockattr::isGoodObject): Implement.
(pthread_rwlockattr::pthread_rwlockattr): Ditto.
(pthread_rwlockattr::~pthread_rwlockattr): Ditto.
(pthread_rwlock::initMutex): Ditto.
(pthread_rwlock::pthread_rwlock): Ditto.
(pthread_rwlock::~pthread_rwlock): Ditto.
(pthread_rwlock::RdLock): Ditto.
(pthread_rwlock::TryRdLock): Ditto.
(pthread_rwlock::WrLock): Ditto.
(pthread_rwlock::TryWrLock): Ditto.
(pthread_rwlock::UnLock): Ditto.
(pthread_rwlock::addReader): Ditto.
(pthread_rwlock::removeReader): Ditto.
(pthread_rwlock::lookupReader): Ditto.
(pthread_rwlock::RdLockCleanup): Ditto.
(pthread_rwlock::WrLockCleanup): Ditto.
(pthread_rwlock::fixup_after_fork): Ditto.
(pthread_rwlock::isGoodObject): Ditto.
(pthread_rwlock::isGoodInitializer): Ditto.
(pthread_rwlock::isGoodInitializerOrObject): Ditto.
(pthread_rwlock::isGoodInitializerOrBadObject): Ditto.
(__pthread_rwlock_destroy): Ditto.
(pthread_rwlock::init): Ditto.
(__pthread_rwlock_rdlock): Ditto.
(__pthread_rwlock_tryrdlock): Ditto.
(__pthread_rwlock_wrlock): Ditto.
(__pthread_rwlock_trywrlock): Ditto. 
						
						
					 
					
						2003-03-18 20:01:07 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Pfaff 
							
						 
					 
					
						
						
							
						
						5df1410028 
					 
					
						
						
							
							* winsup.api/pthread/condvar7.c: New test.  
						
						... 
						
						
						
						* winsup.api/pthread/condvar9.c: Ditto. 
						
						
					 
					
						2003-03-18 19:51:58 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Pfaff 
							
						 
					 
					
						
						
							
						
						f592b05df1 
					 
					
						
						
							
							* thread.h (pthread_cond::ExitingWait): Remove.  
						
						... 
						
						
						
						(pthread_cond::mutex): Ditto.
(pthread_cond::cond_access): Ditto.
(pthread_cond::win32_obj_id): Ditto.
(pthread_cond::TimedWait): Ditto.
(pthread_cond::BroadCast): Ditto.
(pthread_cond::Signal): Ditto.
(pthread_cond::waiting): Change type to unsigned long.
(pthread_cond::pending): New member.
(pthread_cond::semWait): Ditto.
(pthread_cond::mtxIn): Ditto.
(pthread_cond::mtxOut): Ditto.
(pthread_cond::mtxCond): Ditto.
(pthread_cond::UnBlock): New method.
(pthread_cond::Wait): Ditto.
* thread.cc: Update list of cancellation points.
(pthread_cond::pthread_cond): Rewrite.
(pthread_cond::~pthread_cond): Ditto.
(pthread_cond::TimedWait): Remove.
(pthread_cond::BroadCast): Ditto.
(pthread_cond::Signal): Ditto.
(pthread_cond::UnBlock): Implement.
(pthread_cond::Wait): Ditto.
(pthread_cond::fixup_after_fork): Rewrite.
(pthread_mutex::fixup_after_fork): Remove DETECT_BAD_APP
conditional.
(__pthread_cond_broadcast): Just return 0 if the condition is
not initialized. Call pthread_cond::UnBlock to release blocked
threads.
(__pthread_cond_signal): Ditto.
(__pthread_cond__dowait): Rewrite.
(pthread_cond_timedwait): Add pthread_testcancel call. Fix
waitlength calculation.
(pthread_cond_wait): Add pthread_testcancel call. 
						
						
					 
					
						2003-03-18 19:49:38 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Pfaff 
							
						 
					 
					
						
						
							
						
						0bad7c2e26 
					 
					
						
						
							
							* winsup.api/pthread/mutex1n.c: New test.  
						
						... 
						
						
						
						* winsup.api/pthread/mutex6n.c: Ditto.
* winsup.api/pthread/mutex7n.c: Ditto. 
						
						
					 
					
						2003-03-18 19:42:43 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Pfaff 
							
						 
					 
					
						
						
							
						
						2ff03dc2e0 
					 
					
						
						
							
							* include/pthread.h (PTHREAD_MUTEX_NORMAL): New define.  
						
						... 
						
						
						
						* thread.cc: Remove errno.h include.
(pthread::precreate): Change internal mutex type to normal.
(pthread_mutex::canBeUnlocked): Implement.
(pthread_mutex::pthread_mutex): Initialize lock_counter with 0.
(pthread_mutex::Lock): Rename to _Lock. Add self parameter.
Change lock_counter logic. Update SetOwner call.
(pthread_mutex::TryLock): Rename to _TryLock. Add self parameter.
Change lock_counter logic. Update SetOwner call.
(pthread_mutex::UnLock): Rename to _UnLock. Add self parameter.
Change lock_counter logic.
(pthread_mutex::Destroy): Rename to _Destroy. Update TryLock call.
(pthread_mutex::SetOwner): Move to thread.h as inline.
(pthread_mutex::LockRecursive): Ditto.
(pthread_mutex::fixup_after_fork): Change lock_counter logic.
(__pthread_mutexattr_settype): Add PTHREAD_MUTEX_NORMAL to valid
types check.
* thread.h: Include errno.h and limits.h.
(MUTEX_LOCK_COUNTER_INITIAL): Remove.
(MUTEX_OWNER_ANONYMOUS): New define.
(pthread_mutex::canBeUnlocked): New static method.
(pthread_mutex::lock_counter): Change type to unsigned long.
(pthread_mutex::GetPthreadSelf): New method.
(pthread_mutex::Lock): Call _Lock with pthread_self pointer.
(pthread_mutex::TryLock): Call _TryLock with pthread_self pointer.
(pthread_mutex::UnLock): Call _UnLock with pthread_self pointer.
(pthread_mutex::Destroy): Call _Destroy with pthread_self pointer.
(pthread_mutex::SetOwner): Moved from thread.cc as inline.
(pthread_mutex::LockRecursive): Ditto.
(pthread_mutex::_Lock): New method.
(pthread_mutex::_TryLock): New method.
(pthread_mutex::_UnLock): New method.
(pthread_mutex::_Destroy): New method. 
						
						
					 
					
						2003-03-18 19:39:21 +00:00 
						 
				 
			
				
					
						
							
							
								Corinna Vinschen 
							
						 
					 
					
						
						
							
						
						dcd350f0ec 
					 
					
						
						
							
							* fhandler_proc.cc (format_proc_cpuinfo): Use IsProcessorFeaturePresent  
						
						... 
						
						
						
						only on Windows NT. Read CPU Mhz value only on NT. Revert previous
	change so cpuid instruction is called even on non-NT systems. 
						
						
					 
					
						2003-03-18 09:30:03 +00:00 
						 
				 
			
				
					
						
							
							
								Danny Smith 
							
						 
					 
					
						
						
							
						
						bc1658ad66 
					 
					
						
						
							
							* include/lmaccess.h (UF_LOCKOUT): Correct name from UF_LOCK.  
						
						... 
						
						
						
						Thanks to: Fabricio D. Rossi  <gurusoda@users.sourceforge.net >
 	(UF_SETTABLE_BITS): Correct UF_LOCKOUT here too. 
						
						
					 
					
						2003-03-18 09:19:21 +00:00 
						 
				 
			
				
					
						
							
							
								Christopher Faylor 
							
						 
					 
					
						
						
							
						
						eeb65b9513 
					 
					
						
						
							
							* Makefile.common (w32api_lib): Default to system w32api directory if w32api is  
						
						... 
						
						
						
						missing from source. 
						
						
					 
					
						2003-03-17 23:13:26 +00:00 
						 
				 
			
				
					
						
							
							
								DJ Delorie 
							
						 
					 
					
						
						
							
						
						259db89238 
					 
					
						
						
							
							merge from gcc  
						
						
						
						
					 
					
						2003-03-17 23:09:54 +00:00 
						 
				 
			
				
					
						
							
							
								Christopher Faylor 
							
						 
					 
					
						
						
							
						
						298b2249e6 
					 
					
						
						
							
							* Makefile.common: Fix typo from previous checkin.  
						
						
						
						
					 
					
						2003-03-17 22:35:53 +00:00 
						 
				 
			
				
					
						
							
							
								Christopher Faylor 
							
						 
					 
					
						
						
							
						
						237ab58c28 
					 
					
						
						
							
							* configure.in: w32api directory was already optional.  Semi-revert 2003-02-06  
						
						... 
						
						
						
						change.
* configure: Regenerate.
* Makefile.common: Don't specific -nostdinc if there is no w32api directory. 
						
						
					 
					
						2003-03-17 22:27:07 +00:00