Added some FIXME comments.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 24 Mar 2007 05:13:54 +0000
changeset 853 8df352657911
parent 852 9467e96abdf1
child 854 6c3ebc2e627a
Added some FIXME comments.
platform/pocketpc.c
platform/windows.c
--- a/platform/pocketpc.c	Sat Mar 24 03:54:58 2007 +0000
+++ b/platform/pocketpc.c	Sat Mar 24 05:13:54 2007 +0000
@@ -561,6 +561,11 @@
 } /* __PHYSFS_platformDelete */
 
 
+/*
+ * !!! FIXME: why aren't we using Critical Sections instead of Mutexes?
+ * !!! FIXME:  mutexes on Windows are for cross-process sync. CritSects are
+ * !!! FIXME:  mutexes for threads in a single process and are faster.
+ */
 void *__PHYSFS_platformCreateMutex(void)
 {
     return((void *) CreateMutex(NULL, FALSE, NULL));
--- a/platform/windows.c	Sat Mar 24 03:54:58 2007 +0000
+++ b/platform/windows.c	Sat Mar 24 05:13:54 2007 +0000
@@ -903,6 +903,11 @@
 } /* __PHYSFS_platformDelete */
 
 
+/*
+ * !!! FIXME: why aren't we using Critical Sections instead of Mutexes?
+ * !!! FIXME:  mutexes on Windows are for cross-process sync. CritSects are
+ * !!! FIXME:  mutexes for threads in a single process and are faster.
+ */
 void *__PHYSFS_platformCreateMutex(void)
 {
     return((void *) CreateMutex(NULL, FALSE, NULL));