sem_open() returns ENOSPC
sem_open() returns ENOSPC
- Subject: sem_open() returns ENOSPC
- From: Norm Green <email@hidden>
- Date: Wed, 14 Jul 2010 14:44:35 -0700
Hi,
We have a problem where sem_open() returns ENOSPC. This occurs during
program startup and repeats until we reboot the machine. Then it goes
away for awhile but eventually returns until we reboot the machine
again. Is there a better solution than restarting the machine?
Seems like it's complaining about lack of disk space, but the man page
says:
When a new semaphore is created, it is given the user ID and group
ID which correspond to the effective user and group IDs of the calling
process. There
is no visible entry in the file system for the created object in
this implementation.
The call is made as follows:
sem_t *theSem = sem_open(semName, O_CREAT|O_EXCL, 0660, 0);
How can I resolve this problem?
Norm Green
VMware Inc.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden