platform/pocketpc.c
changeset 853 8df352657911
parent 852 9467e96abdf1
child 1068 a94dfe3d3121
equal deleted inserted replaced
852:9467e96abdf1 853:8df352657911
   559 
   559 
   560     return(1);  /* if you got here, it worked. */
   560     return(1);  /* if you got here, it worked. */
   561 } /* __PHYSFS_platformDelete */
   561 } /* __PHYSFS_platformDelete */
   562 
   562 
   563 
   563 
       
   564 /*
       
   565  * !!! FIXME: why aren't we using Critical Sections instead of Mutexes?
       
   566  * !!! FIXME:  mutexes on Windows are for cross-process sync. CritSects are
       
   567  * !!! FIXME:  mutexes for threads in a single process and are faster.
       
   568  */
   564 void *__PHYSFS_platformCreateMutex(void)
   569 void *__PHYSFS_platformCreateMutex(void)
   565 {
   570 {
   566     return((void *) CreateMutex(NULL, FALSE, NULL));
   571     return((void *) CreateMutex(NULL, FALSE, NULL));
   567 } /* __PHYSFS_platformCreateMutex */
   572 } /* __PHYSFS_platformCreateMutex */
   568 
   573