Home
last modified time | relevance | path

Searched refs:thlock (Results 1 – 4 of 4) sorted by relevance

/freebsd-13.1/contrib/apr/include/arch/unix/
H A Dapr_arch_file_io.h116 struct apr_thread_mutex_t *thlock; member
122 if ((f)->thlock) \
123 apr_thread_mutex_lock((f)->thlock); \
126 if ((f)->thlock) \
127 apr_thread_mutex_unlock((f)->thlock); \
/freebsd-13.1/contrib/apr/file_io/unix/
H A Dfiledup.c79 if ((*new_file)->buffered && !(*new_file)->thlock && old_file->thlock) { in file_dup()
80 apr_thread_mutex_create(&((*new_file)->thlock), in file_dup()
156 if (old_file->thlock) { in apr_file_setaside()
157 apr_thread_mutex_create(&((*new_file)->thlock), in apr_file_setaside()
159 apr_thread_mutex_destroy(old_file->thlock); in apr_file_setaside()
H A Dopen.c45 if (file->thlock) { in file_cleanup()
46 rv = apr_thread_mutex_destroy(file->thlock); in file_cleanup()
99 apr_thread_mutex_t *thlock; in apr_file_open() local
164 rv = apr_thread_mutex_create(&thlock, in apr_file_open()
223 (*new)->thlock = thlock; in apr_file_open()
314 rv = apr_thread_mutex_create(&((*file)->thlock), in apr_os_file_put()
H A Dpipe.c156 (*file)->thlock = NULL; in apr_os_pipe_put_ex()
199 (*in)->thlock = NULL; in file_pipe_create()
214 (*out)->thlock = NULL; in file_pipe_create()