diff --git a/platform/pocketpc.c b/platform/pocketpc.c index 96f4a41..badb0db 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 e8c98f4..882c5d6 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));