diff options
Diffstat (limited to 'lib/libalpm/handle.h')
-rw-r--r-- | lib/libalpm/handle.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libalpm/handle.h b/lib/libalpm/handle.h index 10a430ac..56f771c2 100644 --- a/lib/libalpm/handle.h +++ b/lib/libalpm/handle.h @@ -124,6 +124,7 @@ struct __alpm_handle_t { regex_t delta_regex; #ifdef HAVE_PTHREAD + int threads; pthread_mutex_t tlock_cb; pthread_mutex_t tlock_log; pthread_mutex_t tlock_task; @@ -145,6 +146,9 @@ alpm_errno_t _alpm_set_directory_option(const char *value, void _alpm_set_errno(alpm_handle_t *handle, alpm_errno_t err); +void _alpm_run_threaded(alpm_handle_t *handle, + void *(*function) (void *), void *arg); + #endif /* ALPM_HANDLE_H */ /* vim: set noet: */ |