forked from len0rd/rockbox
Remove card_enable_monitoring() and use a mutex instead. The card_enable_monitoring() method actually didn't eliminate the possible race conditions it was meant to fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26627 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4a2cab6aa1
commit
9c43b2ce17
12 changed files with 73 additions and 125 deletions
|
@ -35,8 +35,9 @@ struct partinfo {
|
|||
#define PARTITION_TYPE_OS2_HIDDEN_C_DRIVE 0x84
|
||||
|
||||
/* returns a pointer to an array of 8 partinfo structs */
|
||||
struct partinfo* disk_init(IF_MD_NONVOID(int drive));
|
||||
struct partinfo* disk_partinfo(int partition);
|
||||
|
||||
void disk_init_subsystem(void); /* Initialises mutexes */
|
||||
int disk_mount_all(void); /* returns the # of successful mounts */
|
||||
int disk_mount(int drive);
|
||||
int disk_unmount(int drive);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue