From 4396d7b3ba9b6029215f08664dff33532a13a6df Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 24 Mar 2007 05:13:54 +0000 Subject: [PATCH] Added some FIXME comments. --- platform/pocketpc.c | 5 +++++ platform/windows.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/platform/pocketpc.c b/platform/pocketpc.c index 96f4a413..badb0db3 100644 --- a/platform/pocketpc.c +++ b/platform/pocketpc.c @@ -561,6 +561,11 @@ int __PHYSFS_platformDelete(const char *path) } /* __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)); diff --git a/platform/windows.c b/platform/windows.c index e8c98f48..882c5d65 100644 --- a/platform/windows.c +++ b/platform/windows.c @@ -903,6 +903,11 @@ int __PHYSFS_platformDelete(const char *path) } /* __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));