mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-07 07:14:06 +00:00
Fix remaining use of mutexes lock/unlocking in different threads with cksems, corecting cksem usage on osx
This commit is contained in:
parent
dd9dc7555d
commit
f690750340
5 changed files with 32 additions and 36 deletions
3
stream.h
3
stream.h
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (C) 2006-2011 Con Kolivas
|
||||
Copyright (C) 2006-2015 Con Kolivas
|
||||
Copyright (C) 2011 Peter Hyman
|
||||
Copyright (C) 1998-2003 Andrew Tridgell
|
||||
|
||||
|
|
@ -29,7 +29,6 @@ bool join_pthread(pthread_t th, void **thread_return);
|
|||
bool init_mutex(rzip_control *control, pthread_mutex_t *mutex);
|
||||
bool unlock_mutex(rzip_control *control, pthread_mutex_t *mutex);
|
||||
bool lock_mutex(rzip_control *control, pthread_mutex_t *mutex);
|
||||
bool wait_mutex(rzip_control *control, pthread_mutex_t *mutex);
|
||||
ssize_t write_1g(rzip_control *control, void *buf, i64 len);
|
||||
ssize_t read_1g(rzip_control *control, int fd, void *buf, i64 len);
|
||||
i64 get_readseek(rzip_control *control, int fd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue