Re: [gtk-list] Re: [patch] Multiple/Java thread support
- From: Paul Fisher <rao gnu org>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: [patch] Multiple/Java thread support
- Date: 12 Sep 1998 15:03:34 +-400
Small bug in the previous patch:
pthreads_create_mutex should read...
gpointer
pthreads_create_mutex (gpointer init)
{
pthread_mutex_t *mutex =
(pthread_mutex_t *) g_malloc (sizeof (pthread_mutex_t));
pthread_mutex_init (mutex, (const pthread_mutexattr_t *) init);
return mutex;
}
The arguments to pthread_mutex_init in the patch were always
(mutex, NULL).
--
Paul Fisher * rao@gnu.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]