Subversion Repositories Kolibri OS

Rev

Rev 2161 | Rev 5056 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2161 Rev 3391
Line 70... Line 70...
70
void __attribute__ ((fastcall)) __attribute__ ((dllimport))
70
void __attribute__ ((fastcall)) __attribute__ ((dllimport))
71
     mutex_lock(struct mutex*)__asm__("MutexLock");
71
     mutex_lock(struct mutex*)__asm__("MutexLock");
72
void __attribute__ ((fastcall)) __attribute__ ((dllimport))
72
void __attribute__ ((fastcall)) __attribute__ ((dllimport))
73
     mutex_unlock(struct mutex*)__asm__("MutexUnlock");
73
     mutex_unlock(struct mutex*)__asm__("MutexUnlock");
Line -... Line 74...
-
 
74
 
-
 
75
static inline int mutex_lock_interruptible(struct mutex *lock)
-
 
76
{
-
 
77
    mutex_lock(lock);
-
 
78
    return 0;
-
 
79
}
-
 
80
 
-
 
81
# define mutex_lock_nest_lock(lock, nest_lock) mutex_lock(lock)
-
 
82
 
74
 
83
 
75
/**
84
/**
76
 * mutex_is_locked - is the mutex locked
85
 * mutex_is_locked - is the mutex locked
77
 * @lock: the mutex to be queried
86
 * @lock: the mutex to be queried
78
 *
87
 *