Added some FIXME comments.
This commit is contained in:
parent
7386320811
commit
4396d7b3ba
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue