embkernel
Main Page
Modules
Classes
Files
File List
All
Classes
Functions
Variables
Typedefs
Groups
Pages
FS
FsDrive.cpp
1
//------------------------------------------------------------------------------
2
//This file is part of embKernel.
3
//See license.txt for the full license governing this code.
4
//------------------------------------------------------------------------------
5
6
#include "FsDrive.hpp"
7
8
FsDrive::FsDrive() :
9
mSema(1, 1) {
10
mIsReady =
false
;
11
}
12
13
FsDrive::~FsDrive() {
14
15
}
16
17
void
FsDrive::lock() {
18
mSema.take(
Rtos::TICK_INFINITE
);
19
}
20
21
void
FsDrive::unlock() {
22
mSema.give(
Rtos::TICK_INFINITE
);
23
}
24
Generated on Sun May 12 2013 23:28:50 for embkernel by
1.8.3.1