Rev 1787 | Rev 2085 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1787 | Rev 1888 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | /** @addtogroup sync |
29 | /** @addtogroup sync |
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
35 | #ifndef __MUTEX_H__ |
35 | #ifndef KERN_MUTEX_H_ |
36 | #define __MUTEX_H__ |
36 | #define KERN_MUTEX_H_ |
37 | 37 | ||
38 | #include <arch/types.h> |
38 | #include <arch/types.h> |
39 | #include <typedefs.h> |
39 | #include <typedefs.h> |
40 | #include <synch/semaphore.h> |
40 | #include <synch/semaphore.h> |
41 | #include <synch/synch.h> |
41 | #include <synch/synch.h> |
Line 57... | Line 57... | ||
57 | extern int _mutex_lock_timeout(mutex_t *mtx, uint32_t usec, int flags); |
57 | extern int _mutex_lock_timeout(mutex_t *mtx, uint32_t usec, int flags); |
58 | extern void mutex_unlock(mutex_t *mtx); |
58 | extern void mutex_unlock(mutex_t *mtx); |
59 | 59 | ||
60 | #endif |
60 | #endif |
61 | 61 | ||
62 | /** @} |
62 | /** @} |
63 | */ |
63 | */ |
64 | - |