Functions | Variables
test-mutexes.c File Reference
#include "uv.h"
#include "task.h"
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for test-mutexes.c:

Go to the source code of this file.

Functions

static void synchronize (void)
 
static void synchronize_nowait (void)
 
 TEST_IMPL (thread_mutex)
 
 TEST_IMPL (thread_mutex_recursive)
 
 TEST_IMPL (thread_rwlock)
 
 TEST_IMPL (thread_rwlock_trylock)
 
static void thread_rwlock_trylock_peer (void *unused)
 

Variables

static uv_cond_t condvar
 
static uv_mutex_t mutex
 
static uv_rwlock_t rwlock
 
static int step
 

Function Documentation

◆ synchronize()

static void synchronize ( void  )
static

Definition at line 98 of file test-mutexes.c.

◆ synchronize_nowait()

static void synchronize_nowait ( void  )
static

Definition at line 91 of file test-mutexes.c.

◆ TEST_IMPL() [1/4]

TEST_IMPL ( thread_mutex  )

Definition at line 38 of file test-mutexes.c.

◆ TEST_IMPL() [2/4]

TEST_IMPL ( thread_mutex_recursive  )

Definition at line 53 of file test-mutexes.c.

◆ TEST_IMPL() [3/4]

TEST_IMPL ( thread_rwlock  )

Definition at line 73 of file test-mutexes.c.

◆ TEST_IMPL() [4/4]

TEST_IMPL ( thread_rwlock_trylock  )

Definition at line 139 of file test-mutexes.c.

◆ thread_rwlock_trylock_peer()

static void thread_rwlock_trylock_peer ( void *  unused)
static

Definition at line 108 of file test-mutexes.c.

Variable Documentation

◆ condvar

uv_cond_t condvar
static

Definition at line 28 of file test-mutexes.c.

◆ mutex

uv_mutex_t mutex
static

Definition at line 29 of file test-mutexes.c.

◆ rwlock

uv_rwlock_t rwlock
static

Definition at line 30 of file test-mutexes.c.

◆ step

int step
static

Definition at line 31 of file test-mutexes.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:33