mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-15 16:20:17 +02:00
(do_unlock): Renamed from "unlock", which is defined
in unistd.h on QNX. (Reported by Matt Kraai.)
This commit is contained in:
parent
e610622906
commit
b82115b8ba
3 changed files with 8 additions and 2 deletions
|
@ -1397,7 +1397,7 @@ scm_pthread_mutex_lock (scm_i_pthread_mutex_t *mutex)
|
|||
}
|
||||
|
||||
static void
|
||||
unlock (void *data)
|
||||
do_unlock (void *data)
|
||||
{
|
||||
scm_i_pthread_mutex_unlock ((scm_i_pthread_mutex_t *)data);
|
||||
}
|
||||
|
@ -1406,7 +1406,7 @@ void
|
|||
scm_dynwind_pthread_mutex_lock (scm_i_pthread_mutex_t *mutex)
|
||||
{
|
||||
scm_i_scm_pthread_mutex_lock (mutex);
|
||||
scm_dynwind_unwind_handler (unlock, mutex, SCM_F_WIND_EXPLICITLY);
|
||||
scm_dynwind_unwind_handler (do_unlock, mutex, SCM_F_WIND_EXPLICITLY);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue