Rev 1502 | Rev 1757 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1502 | Rev 1702 | ||
---|---|---|---|
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 |
|
- | 30 | * @{ |
|
- | 31 | */ |
|
- | 32 | ||
29 | /** |
33 | /** |
30 | * @file rwlock.c |
34 | * @file |
31 | * @brief Reader/Writer locks. |
35 | * @brief Reader/Writer locks. |
32 | * |
36 | * |
33 | * A reader/writer lock can be held by multiple readers at a time. |
37 | * A reader/writer lock can be held by multiple readers at a time. |
34 | * Or it can be exclusively held by a sole writer at a time. |
38 | * Or it can be exclusively held by a sole writer at a time. |
35 | * |
39 | * |
Line 377... | Line 381... | ||
377 | */ |
381 | */ |
378 | void release_spinlock(void *arg) |
382 | void release_spinlock(void *arg) |
379 | { |
383 | { |
380 | spinlock_unlock((spinlock_t *) arg); |
384 | spinlock_unlock((spinlock_t *) arg); |
381 | } |
385 | } |
- | 386 | ||
- | 387 | /** @} |
|
- | 388 | */ |
|
- | 389 |