Navigation Menu

Skip to content

Commit

Permalink
Added some FIXME comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Mar 24, 2007
1 parent 7386320 commit 4396d7b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions platform/pocketpc.c
Expand Up @@ -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));
Expand Down
5 changes: 5 additions & 0 deletions platform/windows.c
Expand Up @@ -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));
Expand Down

0 comments on commit 4396d7b

Please sign in to comment.