* MUTEX?
@ 1997-07-23 4:00 Dan Duncan
1997-07-24 4:00 ` MUTEX? Brian Silver
0 siblings, 1 reply; 2+ messages in thread
From: Dan Duncan @ 1997-07-23 4:00 UTC (permalink / raw)
I've got a question from one of our programmers.
I'm not even exactly sure what a MUTEX is, but in trying
to use the function call pthread_mutex_init, he gets the error:
The system lacks the necessary resources to initialize another mutex.
The system-imposed limit on the total number of mutexes under
execution by a single user is exceeded.
Which parameter in the kernel config file do I tweak to fix this?
Thanks for any help!
-DanD
--
# Dan D (kd4igw) dand@rmii.com dand@frottage.com http://rmii.com/~dand
# I don't suffer from insanity. I enjoy every minute of it.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: MUTEX?
1997-07-23 4:00 MUTEX? Dan Duncan
@ 1997-07-24 4:00 ` Brian Silver
0 siblings, 0 replies; 2+ messages in thread
From: Brian Silver @ 1997-07-24 4:00 UTC (permalink / raw)
Dan Duncan wrote:
>
> I've got a question from one of our programmers.
> I'm not even exactly sure what a MUTEX is, but in trying
> to use the function call pthread_mutex_init, he gets the error:
A mutex is a data structure (in DECthreads) that allows a program
to enforce mutual exclusion ("mut"-"ex"). It is used to serialize
access to code paths or memory in a multi-threaded program.
On MP Alpha machines it does a little more with respect to
memory "visualization" in that the MP memory subsystem can
re-order memory accesses from different processors in between
memory barrier instructions. (This is probably more than you
asked for, but the moral of the story is use mutexes for reads
as well as writes.)
>
> The system lacks the necessary resources to initialize another mutex.
>
> The system-imposed limit on the total number of mutexes under
> execution by a single user is exceeded.
>
> Which parameter in the kernel config file do I tweak to fix this?
Well, I'll need to know what version of Digital UNIX you are
running on. It would appear on the surface that you are out of
heap space, but I will be able to tell you more with more
information.
Brian.
--
Replace ! with @ for email address: silver!zko.dec.com
You'll get better responce sending e-mail rather than
posting.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-07-24 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-23 4:00 MUTEX? Dan Duncan
1997-07-24 4:00 ` MUTEX? Brian Silver
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox